diff options
| author | Tony Lindgren <tony@atomide.com> | 2009-12-11 16:19:16 -0800 |
|---|---|---|
| committer | Tony Lindgren <tony@atomide.com> | 2009-12-11 16:19:16 -0800 |
| commit | 5ccf197859d6f6bcf56e85657019503b2d95767a (patch) | |
| tree | 85cb5562b550571297cdd347a578ae337eb8f39f /arch/arm/plat-omap/debug-devices.c | |
| parent | 24ed45aa0776f9f645aa1ac1a88b2e1d5f29a9aa (diff) | |
| parent | 435bb827499014ab0e57de75e9606861b08fe894 (diff) | |
Merge branch 'for-next' into omap-for-linus
Diffstat (limited to 'arch/arm/plat-omap/debug-devices.c')
| -rw-r--r-- | arch/arm/plat-omap/debug-devices.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/debug-devices.c b/arch/arm/plat-omap/debug-devices.c index 09c1107637f6..923c9621096b 100644 --- a/arch/arm/plat-omap/debug-devices.c +++ b/arch/arm/plat-omap/debug-devices.c @@ -13,6 +13,7 @@ #include <linux/init.h> #include <linux/platform_device.h> #include <linux/io.h> +#include <linux/smc91x.h> #include <mach/hardware.h> @@ -24,6 +25,12 @@ * platforms include H2, H3, H4, and Perseus2. */ +static struct smc91x_platdata smc91x_info = { + .flags = SMC91X_USE_16BIT | SMC91X_NOWAIT, + .leda = RPC_LED_100_10, + .ledb = RPC_LED_TX_RX, +}; + static struct resource smc91x_resources[] = { [0] = { .flags = IORESOURCE_MEM, @@ -36,6 +43,9 @@ static struct resource smc91x_resources[] = { static struct platform_device smc91x_device = { .name = "smc91x", .id = -1, + .dev = { + .platform_data = &smc91x_info, + }, .num_resources = ARRAY_SIZE(smc91x_resources), .resource = smc91x_resources, }; |
