diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2009-07-09 10:15:12 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-07-09 10:15:12 -0400 |
commit | 7fb2bbf4d9e7e62057184f1e061566459eef6c79 (patch) | |
tree | e67c4c6780246bca649fac652f83116785ee855e /arch/arm/include | |
parent | 012b7d339ce8c42d41e35b35c4acc3dd29501d52 (diff) |
MMC: MMCI: allow GPIOs to be passed
Add and initialize the gpio_wp and gpio_cd members. We need to
ensure that all users are covered, because GPIO 0 may be valid.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/mach/mmc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/mach/mmc.h b/arch/arm/include/asm/mach/mmc.h index 4da332b03144..b490ecc79def 100644 --- a/arch/arm/include/asm/mach/mmc.h +++ b/arch/arm/include/asm/mach/mmc.h | |||
@@ -10,6 +10,8 @@ struct mmc_platform_data { | |||
10 | unsigned int ocr_mask; /* available voltages */ | 10 | unsigned int ocr_mask; /* available voltages */ |
11 | u32 (*translate_vdd)(struct device *, unsigned int); | 11 | u32 (*translate_vdd)(struct device *, unsigned int); |
12 | unsigned int (*status)(struct device *); | 12 | unsigned int (*status)(struct device *); |
13 | int gpio_wp; | ||
14 | int gpio_cd; | ||
13 | }; | 15 | }; |
14 | 16 | ||
15 | #endif | 17 | #endif |