diff options
author | Thomas Weber <weber@corscience.de> | 2011-09-06 11:11:49 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-11-04 21:07:10 -0400 |
commit | e9614f35ba0f50d985fc27cbbafcb0346e1d4daa (patch) | |
tree | 4a60f8de0bbba13a6cdb559fdaacd69904a9f359 /arch | |
parent | 0eb3c0f5a43f7dd90c4109927752659f147237b7 (diff) |
ARM: OMAP: Devkit8000: Remove double omap_mux_init_gpio
Remove the init of card detect pin because
omap_mux_init_gpio() is called during hsmmc initialization
for the write protect and card detect pin.
Signed-off-by: Thomas Weber <weber@corscience.de>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-omap2/board-devkit8000.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c index 42918940c530..90154e411da0 100644 --- a/arch/arm/mach-omap2/board-devkit8000.c +++ b/arch/arm/mach-omap2/board-devkit8000.c | |||
@@ -226,7 +226,6 @@ static int devkit8000_twl_gpio_setup(struct device *dev, | |||
226 | { | 226 | { |
227 | int ret; | 227 | int ret; |
228 | 228 | ||
229 | omap_mux_init_gpio(29, OMAP_PIN_INPUT); | ||
230 | /* gpio + 0 is "mmc0_cd" (input/IRQ) */ | 229 | /* gpio + 0 is "mmc0_cd" (input/IRQ) */ |
231 | mmc[0].gpio_cd = gpio + 0; | 230 | mmc[0].gpio_cd = gpio + 0; |
232 | omap2_hsmmc_init(mmc); | 231 | omap2_hsmmc_init(mmc); |