aboutsummaryrefslogtreecommitdiff
path: root/hw/omap1.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2011-12-20 08:11:31 +0000
committerPeter Maydell <peter.maydell@linaro.org>2012-01-04 10:35:09 +0000
commit3b204c8129bc6a6843cb9ff555132babf134286c (patch)
treea8ec64856b7bd1e1f46767a609956a15496bab88 /hw/omap1.c
parent128939a954194e37bbe67d1b94abcba599d30d10 (diff)
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/omap1.c')
-rw-r--r--hw/omap1.c2
1 files changed, 1 insertions, 1 deletions
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)