diff options
author | Stephen Warren <swarren@nvidia.com> | 2011-03-05 00:44:28 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2011-03-07 18:34:25 -0500 |
commit | 986afbe493b09846dffbe5c1bf9a428a839b6ca2 (patch) | |
tree | a0be68aecc0f65d474805c864444fecc79b10ac7 /arch/arm/mach-tegra/board-seaboard.c | |
parent | b9652c2d127e994748d4bffc45369ed423d5ae8d (diff) |
ARM: tegra: create defines for SD-related GPIO names
This ensures they're kept in sync between platform_data definitions and
the GPIO table initialization.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-tegra/board-seaboard.c')
-rw-r--r-- | arch/arm/mach-tegra/board-seaboard.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/board-seaboard.c b/arch/arm/mach-tegra/board-seaboard.c index 6ca9e61f6cd..eb28dbdac00 100644 --- a/arch/arm/mach-tegra/board-seaboard.c +++ b/arch/arm/mach-tegra/board-seaboard.c | |||
@@ -103,9 +103,9 @@ static struct tegra_sdhci_platform_data sdhci_pdata1 = { | |||
103 | }; | 103 | }; |
104 | 104 | ||
105 | static struct tegra_sdhci_platform_data sdhci_pdata3 = { | 105 | static struct tegra_sdhci_platform_data sdhci_pdata3 = { |
106 | .cd_gpio = TEGRA_GPIO_PI5, | 106 | .cd_gpio = TEGRA_GPIO_SD2_CD, |
107 | .wp_gpio = TEGRA_GPIO_PH1, | 107 | .wp_gpio = TEGRA_GPIO_SD2_WP, |
108 | .power_gpio = TEGRA_GPIO_PI6, | 108 | .power_gpio = TEGRA_GPIO_SD2_POWER, |
109 | }; | 109 | }; |
110 | 110 | ||
111 | static struct tegra_sdhci_platform_data sdhci_pdata4 = { | 111 | static struct tegra_sdhci_platform_data sdhci_pdata4 = { |