diff options
-rw-r--r-- | arch/ppc/platforms/mpc885ads_setup.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/arch/ppc/platforms/mpc885ads_setup.c b/arch/ppc/platforms/mpc885ads_setup.c index f8161f3557f5..87deaefd6c5b 100644 --- a/arch/ppc/platforms/mpc885ads_setup.c +++ b/arch/ppc/platforms/mpc885ads_setup.c | |||
@@ -35,13 +35,13 @@ | |||
35 | #include <asm/ppc_sys.h> | 35 | #include <asm/ppc_sys.h> |
36 | 36 | ||
37 | extern unsigned char __res[]; | 37 | extern unsigned char __res[]; |
38 | static void setup_smc1_ioports(void); | 38 | static void setup_smc1_ioports(struct fs_uart_platform_info*); |
39 | static void setup_smc2_ioports(void); | 39 | static void setup_smc2_ioports(struct fs_uart_platform_info*); |
40 | 40 | ||
41 | static struct fs_mii_fec_platform_info mpc8xx_mdio_fec_pdata; | 41 | static struct fs_mii_fec_platform_info mpc8xx_mdio_fec_pdata; |
42 | static void setup_fec1_ioports(void); | 42 | static void setup_fec1_ioports(struct fs_platform_info*); |
43 | static void setup_fec2_ioports(void); | 43 | static void setup_fec2_ioports(struct fs_platform_info*); |
44 | static void setup_scc3_ioports(void); | 44 | static void setup_scc3_ioports(struct fs_platform_info*); |
45 | 45 | ||
46 | static struct fs_uart_platform_info mpc885_uart_pdata[] = { | 46 | static struct fs_uart_platform_info mpc885_uart_pdata[] = { |
47 | [fsid_smc1_uart] = { | 47 | [fsid_smc1_uart] = { |
@@ -161,7 +161,7 @@ void __init board_init(void) | |||
161 | #endif | 161 | #endif |
162 | } | 162 | } |
163 | 163 | ||
164 | static void setup_fec1_ioports(struct fs_platform_info*) | 164 | static void setup_fec1_ioports(struct fs_platform_info* pdata) |
165 | { | 165 | { |
166 | immap_t *immap = (immap_t *) IMAP_ADDR; | 166 | immap_t *immap = (immap_t *) IMAP_ADDR; |
167 | 167 | ||
@@ -181,7 +181,7 @@ static void setup_fec1_ioports(struct fs_platform_info*) | |||
181 | clrbits32(&immap->im_cpm.cp_cptr, 0x00000100); | 181 | clrbits32(&immap->im_cpm.cp_cptr, 0x00000100); |
182 | } | 182 | } |
183 | 183 | ||
184 | static void setup_fec2_ioports(struct fs_platform_info*) | 184 | static void setup_fec2_ioports(struct fs_platform_info* pdata) |
185 | { | 185 | { |
186 | immap_t *immap = (immap_t *) IMAP_ADDR; | 186 | immap_t *immap = (immap_t *) IMAP_ADDR; |
187 | 187 | ||
@@ -193,7 +193,7 @@ static void setup_fec2_ioports(struct fs_platform_info*) | |||
193 | clrbits32(&immap->im_cpm.cp_cptr, 0x00000080); | 193 | clrbits32(&immap->im_cpm.cp_cptr, 0x00000080); |
194 | } | 194 | } |
195 | 195 | ||
196 | static void setup_scc3_ioports(struct fs_platform_info*) | 196 | static void setup_scc3_ioports(struct fs_platform_info* pdata) |
197 | { | 197 | { |
198 | immap_t *immap = (immap_t *) IMAP_ADDR; | 198 | immap_t *immap = (immap_t *) IMAP_ADDR; |
199 | unsigned *bcsr_io; | 199 | unsigned *bcsr_io; |
@@ -315,7 +315,7 @@ static void __init mpc885ads_fixup_scc_enet_pdata(struct platform_device *pdev, | |||
315 | mpc885ads_fixup_enet_pdata(pdev, fsid_scc1 + pdev->id - 1); | 315 | mpc885ads_fixup_enet_pdata(pdev, fsid_scc1 + pdev->id - 1); |
316 | } | 316 | } |
317 | 317 | ||
318 | static void setup_smc1_ioports(struct fs_uart_platform_info*) | 318 | static void setup_smc1_ioports(struct fs_uart_platform_info* pdata) |
319 | { | 319 | { |
320 | immap_t *immap = (immap_t *) IMAP_ADDR; | 320 | immap_t *immap = (immap_t *) IMAP_ADDR; |
321 | unsigned *bcsr_io; | 321 | unsigned *bcsr_io; |
@@ -335,7 +335,7 @@ static void setup_smc1_ioports(struct fs_uart_platform_info*) | |||
335 | clrbits16(&immap->im_cpm.cp_pbodr, iobits); | 335 | clrbits16(&immap->im_cpm.cp_pbodr, iobits); |
336 | } | 336 | } |
337 | 337 | ||
338 | static void setup_smc2_ioports(struct fs_uart_platform_info*) | 338 | static void setup_smc2_ioports(struct fs_uart_platform_info* pdata) |
339 | { | 339 | { |
340 | immap_t *immap = (immap_t *) IMAP_ADDR; | 340 | immap_t *immap = (immap_t *) IMAP_ADDR; |
341 | unsigned *bcsr_io; | 341 | unsigned *bcsr_io; |