diff options
author | Adrian Hunter <adrian.hunter@nokia.com> | 2010-02-15 13:03:34 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-02-15 13:03:34 -0500 |
commit | 68ff04231ce9128d400f47762ae3c921be79cd49 (patch) | |
tree | ce0c321726d2df6239feeab1ddf145f5d0a549f9 /arch/arm/mach-omap2/board-rx51-peripherals.c | |
parent | d02a900b5952597b6beebd709d92ab392fa3005a (diff) |
omap: Rename hsmmc symbols to reflect independence from twl4030
hsmmc.[ch] no longer has any dependency on twl4030
and variable names should be renamed to reflect that.
Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-rx51-peripherals.c')
-rw-r--r-- | arch/arm/mach-omap2/board-rx51-peripherals.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c index b2de2066fb00..ab07ca2d4085 100644 --- a/arch/arm/mach-omap2/board-rx51-peripherals.c +++ b/arch/arm/mach-omap2/board-rx51-peripherals.c | |||
@@ -209,7 +209,7 @@ static struct twl4030_madc_platform_data rx51_madc_data = { | |||
209 | .irq_line = 1, | 209 | .irq_line = 1, |
210 | }; | 210 | }; |
211 | 211 | ||
212 | static struct twl4030_hsmmc_info mmc[] = { | 212 | static struct omap2_hsmmc_info mmc[] __initdata = { |
213 | { | 213 | { |
214 | .name = "external", | 214 | .name = "external", |
215 | .mmc = 1, | 215 | .mmc = 1, |
@@ -232,15 +232,18 @@ static struct twl4030_hsmmc_info mmc[] = { | |||
232 | }; | 232 | }; |
233 | 233 | ||
234 | static struct regulator_consumer_supply rx51_vmmc1_supply = { | 234 | static struct regulator_consumer_supply rx51_vmmc1_supply = { |
235 | .supply = "vmmc", | 235 | .supply = "vmmc", |
236 | .dev_name = "mmci-omap-hs.0", | ||
236 | }; | 237 | }; |
237 | 238 | ||
238 | static struct regulator_consumer_supply rx51_vmmc2_supply = { | 239 | static struct regulator_consumer_supply rx51_vmmc2_supply = { |
239 | .supply = "vmmc", | 240 | .supply = "vmmc", |
241 | .dev_name = "mmci-omap-hs.1", | ||
240 | }; | 242 | }; |
241 | 243 | ||
242 | static struct regulator_consumer_supply rx51_vsim_supply = { | 244 | static struct regulator_consumer_supply rx51_vsim_supply = { |
243 | .supply = "vmmc_aux", | 245 | .supply = "vmmc_aux", |
246 | .dev_name = "mmci-omap-hs.1", | ||
244 | }; | 247 | }; |
245 | 248 | ||
246 | static struct regulator_init_data rx51_vaux1 = { | 249 | static struct regulator_init_data rx51_vaux1 = { |
@@ -375,12 +378,6 @@ static int rx51_twlgpio_setup(struct device *dev, unsigned gpio, unsigned n) | |||
375 | gpio_request(gpio + 7, "speaker_en"); | 378 | gpio_request(gpio + 7, "speaker_en"); |
376 | gpio_direction_output(gpio + 7, 1); | 379 | gpio_direction_output(gpio + 7, 1); |
377 | 380 | ||
378 | /* set up MMC adapters, linking their regulators to them */ | ||
379 | twl4030_mmc_init(mmc); | ||
380 | rx51_vmmc1_supply.dev = mmc[0].dev; | ||
381 | rx51_vmmc2_supply.dev = mmc[1].dev; | ||
382 | rx51_vsim_supply.dev = mmc[1].dev; | ||
383 | |||
384 | return 0; | 381 | return 0; |
385 | } | 382 | } |
386 | 383 | ||
@@ -751,5 +748,6 @@ void __init rx51_peripherals_init(void) | |||
751 | rx51_init_wl1251(); | 748 | rx51_init_wl1251(); |
752 | spi_register_board_info(rx51_peripherals_spi_board_info, | 749 | spi_register_board_info(rx51_peripherals_spi_board_info, |
753 | ARRAY_SIZE(rx51_peripherals_spi_board_info)); | 750 | ARRAY_SIZE(rx51_peripherals_spi_board_info)); |
751 | omap2_hsmmc_init(mmc); | ||
754 | } | 752 | } |
755 | 753 | ||