diff options
author | David S. Miller <davem@davemloft.net> | 2010-01-23 01:45:46 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-23 01:45:46 -0500 |
commit | 6be325719b3e54624397e413efd4b33a997e55a3 (patch) | |
tree | 57f321a56794cab2222e179b16731e0d76a4a68a /arch/arm/mach-omap2/board-apollon.c | |
parent | 26d92f9276a56d55511a427fb70bd70886af647a (diff) | |
parent | 92dcffb916d309aa01778bf8963a6932e4014d07 (diff) |
Merge branch 'master' of /home/davem/src/GIT/linux-2.6/
Diffstat (limited to 'arch/arm/mach-omap2/board-apollon.c')
-rw-r--r-- | arch/arm/mach-omap2/board-apollon.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-apollon.c b/arch/arm/mach-omap2/board-apollon.c index 8a2ce77a02ec..fbbd68d69cc8 100644 --- a/arch/arm/mach-omap2/board-apollon.c +++ b/arch/arm/mach-omap2/board-apollon.c | |||
@@ -26,6 +26,7 @@ | |||
26 | #include <linux/leds.h> | 26 | #include <linux/leds.h> |
27 | #include <linux/err.h> | 27 | #include <linux/err.h> |
28 | #include <linux/clk.h> | 28 | #include <linux/clk.h> |
29 | #include <linux/smc91x.h> | ||
29 | 30 | ||
30 | #include <mach/hardware.h> | 31 | #include <mach/hardware.h> |
31 | #include <asm/mach-types.h> | 32 | #include <asm/mach-types.h> |
@@ -120,6 +121,12 @@ static void __init apollon_flash_init(void) | |||
120 | apollon_flash_resource[0].end = base + SZ_128K - 1; | 121 | apollon_flash_resource[0].end = base + SZ_128K - 1; |
121 | } | 122 | } |
122 | 123 | ||
124 | static struct smc91x_platdata appolon_smc91x_info = { | ||
125 | .flags = SMC91X_USE_16BIT | SMC91X_NOWAIT, | ||
126 | .leda = RPC_LED_100_10, | ||
127 | .ledb = RPC_LED_TX_RX, | ||
128 | }; | ||
129 | |||
123 | static struct resource apollon_smc91x_resources[] = { | 130 | static struct resource apollon_smc91x_resources[] = { |
124 | [0] = { | 131 | [0] = { |
125 | .flags = IORESOURCE_MEM, | 132 | .flags = IORESOURCE_MEM, |
@@ -134,6 +141,9 @@ static struct resource apollon_smc91x_resources[] = { | |||
134 | static struct platform_device apollon_smc91x_device = { | 141 | static struct platform_device apollon_smc91x_device = { |
135 | .name = "smc91x", | 142 | .name = "smc91x", |
136 | .id = -1, | 143 | .id = -1, |
144 | .dev = { | ||
145 | .platform_data = &appolon_smc91x_info, | ||
146 | }, | ||
137 | .num_resources = ARRAY_SIZE(apollon_smc91x_resources), | 147 | .num_resources = ARRAY_SIZE(apollon_smc91x_resources), |
138 | .resource = apollon_smc91x_resources, | 148 | .resource = apollon_smc91x_resources, |
139 | }; | 149 | }; |