diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2011-12-20 08:11:31 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2012-01-04 10:35:09 +0000 |
commit | 3b204c8129bc6a6843cb9ff555132babf134286c (patch) | |
tree | a8ec64856b7bd1e1f46767a609956a15496bab88 /hw | |
parent | 128939a954194e37bbe67d1b94abcba599d30d10 (diff) | |
download | qemu-3b204c8129bc6a6843cb9ff555132babf134286c.zip |
hw/omap1.c: omap_mpuio_init() need not be public
omap_mpuio_init() is only used and defined in omap1.c, so make it static.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/omap.h | 4 | ||||
-rw-r--r-- | hw/omap1.c | 2 |
2 files changed, 1 insertions, 5 deletions
@@ -672,10 +672,6 @@ void omap_uart_reset(struct omap_uart_s *s); void omap_uart_attach(struct omap_uart_s *s, CharDriverState *chr); struct omap_mpuio_s; -struct omap_mpuio_s *omap_mpuio_init(MemoryRegion *system_memory, - target_phys_addr_t base, - qemu_irq kbd_int, qemu_irq gpio_int, qemu_irq wakeup, - omap_clk clk); qemu_irq *omap_mpuio_in_get(struct omap_mpuio_s *s); void omap_mpuio_out_set(struct omap_mpuio_s *s, int line, qemu_irq handler); void omap_mpuio_key(struct omap_mpuio_s *s, int row, int col, int down); diff --git a/hw/omap1.c b/hw/omap1.c index 53cde76116..dddac92432 100644 --- a/hw/omap1.c +++ b/hw/omap1.c @@ -2066,7 +2066,7 @@ static void omap_mpuio_onoff(void *opaque, int line, int on) omap_mpuio_kbd_update(s); } -struct omap_mpuio_s *omap_mpuio_init(MemoryRegion *memory, +static struct omap_mpuio_s *omap_mpuio_init(MemoryRegion *memory, target_phys_addr_t base, qemu_irq kbd_int, qemu_irq gpio_int, qemu_irq wakeup, omap_clk clk) |