aboutsummaryrefslogtreecommitdiffstats
path: root/hw/omap2.c
diff options
context:
space:
mode:
authorcmchao <cmchao@gmail.com>2010-05-31 23:54:24 +0800
committerAurelien Jarno <aurelien@aurel32.net>2010-06-30 20:41:38 +0200
commitc1ff227b91a6b75a6cfedee95a3101502a2263ba (patch)
treef88970d2bd8ea77b995916c5a43db2abd98410f5 /hw/omap2.c
parent02d743411161bab8f196b20dff64147f3d80170f (diff)
hw/omap : make local function static and remove declaration from header
Signed-off-by: cmchao <cmchao@gmail.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'hw/omap2.c')
-rw-r--r--hw/omap2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/omap2.c b/hw/omap2.c
index 6ebe5c577..ff349ae91 100644
--- a/hw/omap2.c
+++ b/hw/omap2.c
@@ -585,7 +585,7 @@ static CPUWriteMemoryFunc * const omap_eac_writefn[] = {
omap_badwidth_write16,
};
-struct omap_eac_s *omap_eac_init(struct omap_target_agent_s *ta,
+static struct omap_eac_s *omap_eac_init(struct omap_target_agent_s *ta,
qemu_irq irq, qemu_irq *drq, omap_clk fclk, omap_clk iclk)
{
int iomemtype;
@@ -1783,7 +1783,7 @@ static void omap_prcm_coldreset(struct omap_prcm_s *s)
omap_prcm_reset(s);
}
-struct omap_prcm_s *omap_prcm_init(struct omap_target_agent_s *ta,
+static struct omap_prcm_s *omap_prcm_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)
{
@@ -2157,7 +2157,7 @@ static void omap_sysctl_reset(struct omap_sysctl_s *s)
s->padconf[0x44] = 0x00000800;
}
-struct omap_sysctl_s *omap_sysctl_init(struct omap_target_agent_s *ta,
+static struct omap_sysctl_s *omap_sysctl_init(struct omap_target_agent_s *ta,
omap_clk iclk, struct omap_mpu_state_s *mpu)
{
int iomemtype;