diff options
Diffstat (limited to 'arch/arm/mach-omap1/board-voiceblue.c')
-rw-r--r-- | arch/arm/mach-omap1/board-voiceblue.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-omap1/board-voiceblue.c b/arch/arm/mach-omap1/board-voiceblue.c index 35c75c1bd0aa..169183537997 100644 --- a/arch/arm/mach-omap1/board-voiceblue.c +++ b/arch/arm/mach-omap1/board-voiceblue.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include <linux/reboot.h> | 22 | #include <linux/reboot.h> |
23 | #include <linux/serial_8250.h> | 23 | #include <linux/serial_8250.h> |
24 | #include <linux/serial_reg.h> | 24 | #include <linux/serial_reg.h> |
25 | #include <linux/smc91x.h> | ||
25 | 26 | ||
26 | #include <mach/hardware.h> | 27 | #include <mach/hardware.h> |
27 | #include <asm/mach-types.h> | 28 | #include <asm/mach-types.h> |
@@ -106,6 +107,12 @@ static struct platform_device voiceblue_flash_device = { | |||
106 | .resource = &voiceblue_flash_resource, | 107 | .resource = &voiceblue_flash_resource, |
107 | }; | 108 | }; |
108 | 109 | ||
110 | static struct smc91x_platdata voiceblue_smc91x_info = { | ||
111 | .flags = SMC91X_USE_16BIT | SMC91X_NOWAIT, | ||
112 | .leda = RPC_LED_100_10, | ||
113 | .ledb = RPC_LED_TX_RX, | ||
114 | }; | ||
115 | |||
109 | static struct resource voiceblue_smc91x_resources[] = { | 116 | static struct resource voiceblue_smc91x_resources[] = { |
110 | [0] = { | 117 | [0] = { |
111 | .start = OMAP_CS2_PHYS + 0x300, | 118 | .start = OMAP_CS2_PHYS + 0x300, |
@@ -122,6 +129,9 @@ static struct resource voiceblue_smc91x_resources[] = { | |||
122 | static struct platform_device voiceblue_smc91x_device = { | 129 | static struct platform_device voiceblue_smc91x_device = { |
123 | .name = "smc91x", | 130 | .name = "smc91x", |
124 | .id = 0, | 131 | .id = 0, |
132 | .dev = { | ||
133 | .platform_data = &voiceblue_smc91x_info, | ||
134 | }, | ||
125 | .num_resources = ARRAY_SIZE(voiceblue_smc91x_resources), | 135 | .num_resources = ARRAY_SIZE(voiceblue_smc91x_resources), |
126 | .resource = voiceblue_smc91x_resources, | 136 | .resource = voiceblue_smc91x_resources, |
127 | }; | 137 | }; |