diff options
Diffstat (limited to 'arch/arm/mach-omap2/gpmc-smc91x.c')
-rw-r--r-- | arch/arm/mach-omap2/gpmc-smc91x.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/gpmc-smc91x.c b/arch/arm/mach-omap2/gpmc-smc91x.c index df99d31d8b64..877c6f5807b7 100644 --- a/arch/arm/mach-omap2/gpmc-smc91x.c +++ b/arch/arm/mach-omap2/gpmc-smc91x.c | |||
@@ -17,9 +17,9 @@ | |||
17 | #include <linux/io.h> | 17 | #include <linux/io.h> |
18 | #include <linux/smc91x.h> | 18 | #include <linux/smc91x.h> |
19 | 19 | ||
20 | #include <mach/board.h> | 20 | #include <plat/board.h> |
21 | #include <mach/gpmc.h> | 21 | #include <plat/gpmc.h> |
22 | #include <mach/gpmc-smc91x.h> | 22 | #include <plat/gpmc-smc91x.h> |
23 | 23 | ||
24 | static struct omap_smc91x_platform_data *gpmc_cfg; | 24 | static struct omap_smc91x_platform_data *gpmc_cfg; |
25 | 25 | ||
@@ -33,17 +33,19 @@ static struct resource gpmc_smc91x_resources[] = { | |||
33 | }; | 33 | }; |
34 | 34 | ||
35 | static struct smc91x_platdata gpmc_smc91x_info = { | 35 | static struct smc91x_platdata gpmc_smc91x_info = { |
36 | .flags = SMC91X_USE_16BIT | SMC91X_NOWAIT | SMC91X_IO_SHIFT_0, | 36 | .flags = SMC91X_USE_16BIT | SMC91X_NOWAIT | SMC91X_IO_SHIFT_0, |
37 | .leda = RPC_LED_100_10, | ||
38 | .ledb = RPC_LED_TX_RX, | ||
37 | }; | 39 | }; |
38 | 40 | ||
39 | static struct platform_device gpmc_smc91x_device = { | 41 | static struct platform_device gpmc_smc91x_device = { |
40 | .name = "smc91x", | 42 | .name = "smc91x", |
41 | .id = -1, | 43 | .id = -1, |
42 | .num_resources = ARRAY_SIZE(gpmc_smc91x_resources), | ||
43 | .resource = gpmc_smc91x_resources, | ||
44 | .dev = { | 44 | .dev = { |
45 | .platform_data = &gpmc_smc91x_info, | 45 | .platform_data = &gpmc_smc91x_info, |
46 | }, | 46 | }, |
47 | .num_resources = ARRAY_SIZE(gpmc_smc91x_resources), | ||
48 | .resource = gpmc_smc91x_resources, | ||
47 | }; | 49 | }; |
48 | 50 | ||
49 | /* | 51 | /* |