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-harmony-pinmux.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-harmony-pinmux.c')
-rw-r--r-- | arch/arm/mach-tegra/board-harmony-pinmux.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/mach-tegra/board-harmony-pinmux.c b/arch/arm/mach-tegra/board-harmony-pinmux.c index 98368d947be3..3ada474fbafb 100644 --- a/arch/arm/mach-tegra/board-harmony-pinmux.c +++ b/arch/arm/mach-tegra/board-harmony-pinmux.c | |||
@@ -141,12 +141,12 @@ static struct tegra_pingroup_config harmony_pinmux[] = { | |||
141 | }; | 141 | }; |
142 | 142 | ||
143 | static struct tegra_gpio_table gpio_table[] = { | 143 | static struct tegra_gpio_table gpio_table[] = { |
144 | { .gpio = TEGRA_GPIO_PI5, .enable = true }, /* mmc2 cd */ | 144 | { .gpio = TEGRA_GPIO_SD2_CD, .enable = true }, |
145 | { .gpio = TEGRA_GPIO_PH1, .enable = true }, /* mmc2 wp */ | 145 | { .gpio = TEGRA_GPIO_SD2_WP, .enable = true }, |
146 | { .gpio = TEGRA_GPIO_PT3, .enable = true }, /* mmc2 pwr */ | 146 | { .gpio = TEGRA_GPIO_SD2_POWER, .enable = true }, |
147 | { .gpio = TEGRA_GPIO_PH2, .enable = true }, /* mmc4 cd */ | 147 | { .gpio = TEGRA_GPIO_SD4_CD, .enable = true }, |
148 | { .gpio = TEGRA_GPIO_PH3, .enable = true }, /* mmc4 wp */ | 148 | { .gpio = TEGRA_GPIO_SD4_WP, .enable = true }, |
149 | { .gpio = TEGRA_GPIO_PI6, .enable = true }, /* mmc4 pwr */ | 149 | { .gpio = TEGRA_GPIO_SD4_POWER, .enable = true }, |
150 | }; | 150 | }; |
151 | 151 | ||
152 | void harmony_pinmux_init(void) | 152 | void harmony_pinmux_init(void) |