summaryrefslogtreecommitdiff
path: root/arch/arm/mach-pxa/zylonite_pxa320.c
diff options
context:
space:
mode:
authorHaojian Zhuang <haojian.zhuang@gmail.com>2009-12-22 15:29:40 +0300
committerEric Miao <eric.y.miao@gmail.com>2009-12-29 09:11:34 +0300
commitf91e4906e26c053ab2ea6067c6354e49b71d8fa9 (patch)
treeede7d80749a703cfc84de85dbc392ecba5f49533 /arch/arm/mach-pxa/zylonite_pxa320.c
parentc57b9343437a801f0a93b272df8eabf1df102034 (diff)
downloadlinux-f91e4906e26c053ab2ea6067c6354e49b71d8fa9.tar.xz
[ARM] pxa/zylonite: simplify reduntant gpio settings on mmc slot
PXA mmc host driver supports card detect, read only and power gpio pin setting already. Zylonite platform driver needn't implement this any more. Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/zylonite_pxa320.c')
-rw-r--r--arch/arm/mach-pxa/zylonite_pxa320.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-pxa/zylonite_pxa320.c b/arch/arm/mach-pxa/zylonite_pxa320.c
index 60d08f23f5e4..9942bac4cf7d 100644
--- a/arch/arm/mach-pxa/zylonite_pxa320.c
+++ b/arch/arm/mach-pxa/zylonite_pxa320.c
@@ -209,10 +209,6 @@ void __init zylonite_pxa320_init(void)
gpio_debug_led1 = mfp_to_gpio(MFP_PIN_GPIO1_2);
gpio_debug_led2 = mfp_to_gpio(MFP_PIN_GPIO4_2);
- /* MMC card detect & write protect for controller 0 */
- zylonite_mmc_slot[0].gpio_cd = mfp_to_gpio(MFP_PIN_GPIO1);
- zylonite_mmc_slot[0].gpio_wp = mfp_to_gpio(MFP_PIN_GPIO5);
-
/* WM9713 IRQ */
wm9713_irq = mfp_to_gpio(MFP_PIN_GPIO15);
}