From 7fb2bbf4d9e7e62057184f1e061566459eef6c79 Mon Sep 17 00:00:00 2001 From: Russell King Date: Thu, 9 Jul 2009 15:15:12 +0100 Subject: 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 Acked-by: Linus Walleij --- arch/arm/include/asm/mach/mmc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/arm/include/asm/mach') 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 { unsigned int ocr_mask; /* available voltages */ u32 (*translate_vdd)(struct device *, unsigned int); unsigned int (*status)(struct device *); + int gpio_wp; + int gpio_cd; }; #endif -- cgit v1.2.1