X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=hw%2Fomap3.c;h=281a65074b0a2c2933d41671432cc506483ca74e;hb=52ee68d18171cdd590e49905e3cee4009bb33855;hp=2cdd764984565559dd051fd09eaf4409f7f85bf8;hpb=17c4622098b65c6eedf733f4f2e24099bcd53ff3;p=qemu diff --git a/hw/omap3.c b/hw/omap3.c index 2cdd764..281a650 100644 --- a/hw/omap3.c +++ b/hw/omap3.c @@ -2065,9 +2065,9 @@ static CPUWriteMemoryFunc *omap3_prm_writefn[] = { omap3_prm_write, }; -struct omap3_prm_s *omap3_prm_init(struct omap_target_agent_s *ta, - qemu_irq mpu_int, qemu_irq iva_int, - struct omap_mpu_state_s *mpu) +static struct omap3_prm_s *omap3_prm_init(struct omap_target_agent_s *ta, + qemu_irq mpu_int, qemu_irq iva_int, + struct omap_mpu_state_s *mpu) { int iomemtype; struct omap3_prm_s *s = (struct omap3_prm_s *) qemu_mallocz(sizeof(*s)); @@ -3312,9 +3312,10 @@ static CPUWriteMemoryFunc *omap3_cm_writefn[] = { omap3_cm_write, }; -struct omap3_cm_s *omap3_cm_init(struct omap_target_agent_s *ta, - qemu_irq mpu_int, qemu_irq dsp_int, - qemu_irq iva_int, struct omap_mpu_state_s *mpu) +static struct omap3_cm_s *omap3_cm_init(struct omap_target_agent_s *ta, + qemu_irq mpu_int, qemu_irq dsp_int, + qemu_irq iva_int, + struct omap_mpu_state_s *mpu) { int iomemtype; struct omap3_cm_s *s = (struct omap3_cm_s *) qemu_mallocz(sizeof(*s));