summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/p852/board-p852-sdhci.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-tegra/p852/board-p852-sdhci.c')
-rw-r--r--arch/arm/mach-tegra/p852/board-p852-sdhci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/p852/board-p852-sdhci.c b/arch/arm/mach-tegra/p852/board-p852-sdhci.c
index dc5b81fa3727..54fd42e38ab6 100644
--- a/arch/arm/mach-tegra/p852/board-p852-sdhci.c
+++ b/arch/arm/mach-tegra/p852/board-p852-sdhci.c
@@ -165,7 +165,7 @@ void __init p852_sdhci_init(void)
gpio_request(p852_sdhci_platform_data
[i].cd_gpio,
gpio_name[cd]);
- tegra_gpio_enable
+ gpio_direction_input
(p852_sdhci_platform_data[i].
cd_gpio);
}
@@ -176,7 +176,7 @@ void __init p852_sdhci_init(void)
gpio_request(p852_sdhci_platform_data
[i].wp_gpio,
gpio_name[wp]);
- tegra_gpio_enable
+ gpio_direction_input
(p852_sdhci_platform_data[i].
wp_gpio);
}
@@ -187,7 +187,7 @@ void __init p852_sdhci_init(void)
gpio_request(p852_sdhci_platform_data
[i].power_gpio,
gpio_name[pw]);
- tegra_gpio_enable
+ gpio_direction_input
(p852_sdhci_platform_data[i].
power_gpio);
}