diff options
author | Vitaly Bordug <vbordug@ru.mvista.com> | 2007-04-10 13:51:53 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-04-12 13:36:45 -0400 |
commit | 6df7d40682242b52c3ed1ea4bbdb594c2d8737c5 (patch) | |
tree | 5bdb3b21a67bc965686add52f3f644abda1e80ce /arch/ppc/platforms | |
parent | 80584ff3b99c36ead7e130e453b3a48b18072d18 (diff) |
[PPC] MPC8272 ADS compile fixed, defconfig refreshed.
Fix compilation of mpc8272ads_setup.c
Signed-off-by: Vitaly Bordug <vbordug@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/ppc/platforms')
-rw-r--r-- | arch/ppc/platforms/mpc8272ads_setup.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/arch/ppc/platforms/mpc8272ads_setup.c b/arch/ppc/platforms/mpc8272ads_setup.c index 0bc06768cf24..47f4b38edb5f 100644 --- a/arch/ppc/platforms/mpc8272ads_setup.c +++ b/arch/ppc/platforms/mpc8272ads_setup.c | |||
@@ -18,6 +18,7 @@ | |||
18 | #include <linux/ioport.h> | 18 | #include <linux/ioport.h> |
19 | #include <linux/fs_enet_pd.h> | 19 | #include <linux/fs_enet_pd.h> |
20 | #include <linux/platform_device.h> | 20 | #include <linux/platform_device.h> |
21 | #include <linux/phy.h> | ||
21 | 22 | ||
22 | #include <asm/io.h> | 23 | #include <asm/io.h> |
23 | #include <asm/mpc8260.h> | 24 | #include <asm/mpc8260.h> |
@@ -30,10 +31,10 @@ | |||
30 | 31 | ||
31 | #include "pq2ads_pd.h" | 32 | #include "pq2ads_pd.h" |
32 | 33 | ||
33 | static void init_fcc1_ioports(void); | 34 | static void init_fcc1_ioports(struct fs_platform_info*); |
34 | static void init_fcc2_ioports(void); | 35 | static void init_fcc2_ioports(struct fs_platform_info*); |
35 | static void init_scc1_uart_ioports(void); | 36 | static void init_scc1_uart_ioports(struct fs_uart_platform_info*); |
36 | static void init_scc4_uart_ioports(void); | 37 | static void init_scc4_uart_ioports(struct fs_uart_platform_info*); |
37 | 38 | ||
38 | static struct fs_uart_platform_info mpc8272_uart_pdata[] = { | 39 | static struct fs_uart_platform_info mpc8272_uart_pdata[] = { |
39 | [fsid_scc1_uart] = { | 40 | [fsid_scc1_uart] = { |
@@ -103,7 +104,7 @@ static struct fs_platform_info mpc82xx_enet_pdata[] = { | |||
103 | }, | 104 | }, |
104 | }; | 105 | }; |
105 | 106 | ||
106 | static void init_fcc1_ioports(struct fs_platform_info*) | 107 | static void init_fcc1_ioports(struct fs_platform_info* pdata) |
107 | { | 108 | { |
108 | struct io_port *io; | 109 | struct io_port *io; |
109 | u32 tempval; | 110 | u32 tempval; |
@@ -144,7 +145,7 @@ static void init_fcc1_ioports(struct fs_platform_info*) | |||
144 | iounmap(immap); | 145 | iounmap(immap); |
145 | } | 146 | } |
146 | 147 | ||
147 | static void init_fcc2_ioports(struct fs_platform_info*) | 148 | static void init_fcc2_ioports(struct fs_platform_info* pdata) |
148 | { | 149 | { |
149 | cpm2_map_t* immap = ioremap(CPM_MAP_ADDR, sizeof(cpm2_map_t)); | 150 | cpm2_map_t* immap = ioremap(CPM_MAP_ADDR, sizeof(cpm2_map_t)); |
150 | u32 *bcsr = ioremap(BCSR_ADDR+12, sizeof(u32)); | 151 | u32 *bcsr = ioremap(BCSR_ADDR+12, sizeof(u32)); |
@@ -229,7 +230,7 @@ static void mpc8272ads_fixup_uart_pdata(struct platform_device *pdev, | |||
229 | } | 230 | } |
230 | } | 231 | } |
231 | 232 | ||
232 | static void init_scc1_uart_ioports(struct fs_uart_platform_info*) | 233 | static void init_scc1_uart_ioports(struct fs_uart_platform_info* pdata) |
233 | { | 234 | { |
234 | cpm2_map_t* immap = ioremap(CPM_MAP_ADDR, sizeof(cpm2_map_t)); | 235 | cpm2_map_t* immap = ioremap(CPM_MAP_ADDR, sizeof(cpm2_map_t)); |
235 | 236 | ||
@@ -246,7 +247,7 @@ static void init_scc1_uart_ioports(struct fs_uart_platform_info*) | |||
246 | iounmap(immap); | 247 | iounmap(immap); |
247 | } | 248 | } |
248 | 249 | ||
249 | static void init_scc4_uart_ioports(struct fs_uart_platform_info*) | 250 | static void init_scc4_uart_ioports(struct fs_uart_platform_info* pdata) |
250 | { | 251 | { |
251 | cpm2_map_t* immap = ioremap(CPM_MAP_ADDR, sizeof(cpm2_map_t)); | 252 | cpm2_map_t* immap = ioremap(CPM_MAP_ADDR, sizeof(cpm2_map_t)); |
252 | 253 | ||