aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLadislav Michl <ladis@linux-mips.org>2009-04-23 11:10:44 -0700
committerTony Lindgren <tony@atomide.com>2009-04-23 11:10:44 -0700
commit1748ae0e95760d62de501743f883af6833f33357 (patch)
treef1940513036b9226a5fa3c4fef893ab0513d49d3
parentARM: OMAP: Remove old dead gpio expander code (diff)
downloadlinux-dev-1748ae0e95760d62de501743f883af6833f33357.tar.xz
linux-dev-1748ae0e95760d62de501743f883af6833f33357.zip
ARM: OMAP: MMC: Remove unused power_pin
Remove unused power_pin Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r--arch/arm/plat-omap/include/mach/mmc.h1
-rw-r--r--drivers/mmc/host/omap.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/plat-omap/include/mach/mmc.h b/arch/arm/plat-omap/include/mach/mmc.h
index 4435bd434e17..81d5b36534b3 100644
--- a/arch/arm/plat-omap/include/mach/mmc.h
+++ b/arch/arm/plat-omap/include/mach/mmc.h
@@ -79,7 +79,6 @@ struct omap_mmc_platform_data {
/* use the internal clock */
unsigned internal_clock:1;
- s16 power_pin;
int switch_pin; /* gpio (card detect) */
int gpio_wp; /* gpio (write protect) */
diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host/omap.c
index 5570849188cc..bfa25c01c872 100644
--- a/drivers/mmc/host/omap.c
+++ b/drivers/mmc/host/omap.c
@@ -157,8 +157,6 @@ struct mmc_omap_host {
struct timer_list dma_timer;
unsigned dma_len;
- short power_pin;
-
struct mmc_omap_slot *slots[OMAP_MMC_MAX_SLOTS];
struct mmc_omap_slot *current_slot;
spinlock_t slot_lock;