diff options
Diffstat (limited to 'arch/blackfin/mach-bf527/boards/ezkit.c')
-rw-r--r-- | arch/blackfin/mach-bf527/boards/ezkit.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf527/boards/ezkit.c b/arch/blackfin/mach-bf527/boards/ezkit.c index b843d0e3f679..617a28738438 100644 --- a/arch/blackfin/mach-bf527/boards/ezkit.c +++ b/arch/blackfin/mach-bf527/boards/ezkit.c | |||
@@ -292,6 +292,14 @@ static struct platform_device rtc_device = { | |||
292 | #endif | 292 | #endif |
293 | 293 | ||
294 | #if defined(CONFIG_SMC91X) || defined(CONFIG_SMC91X_MODULE) | 294 | #if defined(CONFIG_SMC91X) || defined(CONFIG_SMC91X_MODULE) |
295 | #include <linux/smc91x.h> | ||
296 | |||
297 | static struct smc91x_platdata smc91x_info = { | ||
298 | .flags = SMC91X_USE_16BIT | SMC91X_NOWAIT, | ||
299 | .leda = RPC_LED_100_10, | ||
300 | .ledb = RPC_LED_TX_RX, | ||
301 | }; | ||
302 | |||
295 | static struct resource smc91x_resources[] = { | 303 | static struct resource smc91x_resources[] = { |
296 | { | 304 | { |
297 | .name = "smc91x-regs", | 305 | .name = "smc91x-regs", |
@@ -310,6 +318,9 @@ static struct platform_device smc91x_device = { | |||
310 | .id = 0, | 318 | .id = 0, |
311 | .num_resources = ARRAY_SIZE(smc91x_resources), | 319 | .num_resources = ARRAY_SIZE(smc91x_resources), |
312 | .resource = smc91x_resources, | 320 | .resource = smc91x_resources, |
321 | .dev = { | ||
322 | .platform_data = &smc91x_info, | ||
323 | }, | ||
313 | }; | 324 | }; |
314 | #endif | 325 | #endif |
315 | 326 | ||