diff options
author | Linus Walleij <linus.walleij@stericsson.com> | 2009-09-14 07:57:11 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-09-15 17:11:06 -0400 |
commit | 9e6c82cd3e1a739ef48bf8c1decc8e7a7d8de3ac (patch) | |
tree | 3146dbc92480e9034e138bbff11912ff8936fc0b /arch/arm/include/asm | |
parent | a6a6464a0ecd20c5f1594a4fe5b24af6181b7366 (diff) |
ARM: 5698/1: MMCI pass capabilities in platform data
This makes it possible to pass down the host controller
capabilities for the MMCI driver using the platform data. It
also provides the capabilties for the U300 implementation as an
example, and makes sure the 4bit wide mode is set if this is
requested by the ios() now that we can actually set that
capability for a platform.
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r-- | arch/arm/include/asm/mach/mmc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/mach/mmc.h b/arch/arm/include/asm/mach/mmc.h index b490ecc79def..27bec555ee16 100644 --- a/arch/arm/include/asm/mach/mmc.h +++ b/arch/arm/include/asm/mach/mmc.h | |||
@@ -12,6 +12,7 @@ struct mmc_platform_data { | |||
12 | unsigned int (*status)(struct device *); | 12 | unsigned int (*status)(struct device *); |
13 | int gpio_wp; | 13 | int gpio_wp; |
14 | int gpio_cd; | 14 | int gpio_cd; |
15 | unsigned long capabilities; | ||
15 | }; | 16 | }; |
16 | 17 | ||
17 | #endif | 18 | #endif |