]> git.proxmox.com Git - mirror_qemu.git/commitdiff
hw/omap1.c: omap_mpuio_init() need not be public
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 20 Dec 2011 08:11:31 +0000 (08:11 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 4 Jan 2012 10:35:09 +0000 (10:35 +0000)
omap_mpuio_init() is only used and defined in omap1.c, so make it static.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/omap.h
hw/omap1.c

index 42eb361b21b84d095e1d1c8c58273ee7fd8e2c5c..5fe33db0bbe563085bcac1ee5b5b66593c1b0d2e 100644 (file)
--- a/hw/omap.h
+++ b/hw/omap.h
@@ -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);
index 53cde761166ccbf95a1fedcb5be4bc6366c9826a..dddac924326280b8229e610e297f896903f23152 100644 (file)
@@ -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)