diff options
Diffstat (limited to 'arch/arm/mach-omap1/board-innovator.c')
-rw-r--r-- | arch/arm/mach-omap1/board-innovator.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-omap1/board-innovator.c b/arch/arm/mach-omap1/board-innovator.c index cf0fdb9c182f..2133b006f6a3 100644 --- a/arch/arm/mach-omap1/board-innovator.c +++ b/arch/arm/mach-omap1/board-innovator.c | |||
@@ -23,6 +23,7 @@ | |||
23 | #include <linux/mtd/mtd.h> | 23 | #include <linux/mtd/mtd.h> |
24 | #include <linux/mtd/partitions.h> | 24 | #include <linux/mtd/partitions.h> |
25 | #include <linux/input.h> | 25 | #include <linux/input.h> |
26 | #include <linux/smc91x.h> | ||
26 | 27 | ||
27 | #include <mach/hardware.h> | 28 | #include <mach/hardware.h> |
28 | #include <asm/mach-types.h> | 29 | #include <asm/mach-types.h> |
@@ -142,6 +143,11 @@ static struct platform_device innovator_kp_device = { | |||
142 | .resource = innovator_kp_resources, | 143 | .resource = innovator_kp_resources, |
143 | }; | 144 | }; |
144 | 145 | ||
146 | static struct smc91x_platdata innovator_smc91x_info = { | ||
147 | .flags = SMC91X_USE_16BIT | SMC91X_NOWAIT, | ||
148 | .leda = RPC_LED_100_10, | ||
149 | .ledb = RPC_LED_TX_RX, | ||
150 | }; | ||
145 | 151 | ||
146 | #ifdef CONFIG_ARCH_OMAP15XX | 152 | #ifdef CONFIG_ARCH_OMAP15XX |
147 | 153 | ||
@@ -175,6 +181,9 @@ static struct resource innovator1510_smc91x_resources[] = { | |||
175 | static struct platform_device innovator1510_smc91x_device = { | 181 | static struct platform_device innovator1510_smc91x_device = { |
176 | .name = "smc91x", | 182 | .name = "smc91x", |
177 | .id = 0, | 183 | .id = 0, |
184 | .dev = { | ||
185 | .platform_data = &innovator_smc91x_info, | ||
186 | }, | ||
178 | .num_resources = ARRAY_SIZE(innovator1510_smc91x_resources), | 187 | .num_resources = ARRAY_SIZE(innovator1510_smc91x_resources), |
179 | .resource = innovator1510_smc91x_resources, | 188 | .resource = innovator1510_smc91x_resources, |
180 | }; | 189 | }; |
@@ -241,6 +250,9 @@ static struct resource innovator1610_smc91x_resources[] = { | |||
241 | static struct platform_device innovator1610_smc91x_device = { | 250 | static struct platform_device innovator1610_smc91x_device = { |
242 | .name = "smc91x", | 251 | .name = "smc91x", |
243 | .id = 0, | 252 | .id = 0, |
253 | .dev = { | ||
254 | .platform_data = &innovator_smc91x_info, | ||
255 | }, | ||
244 | .num_resources = ARRAY_SIZE(innovator1610_smc91x_resources), | 256 | .num_resources = ARRAY_SIZE(innovator1610_smc91x_resources), |
245 | .resource = innovator1610_smc91x_resources, | 257 | .resource = innovator1610_smc91x_resources, |
246 | }; | 258 | }; |