diff options
author | Pavel Pisa <ppisa4lists@pikron.com> | 2007-09-23 16:59:01 -0400 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2007-09-24 13:33:14 -0400 |
commit | faf39ede5e6325d3e91b6e4e0017d27fbecb6022 (patch) | |
tree | 52c99935cda486c982f1ff6c238ceb12b7601498 /include | |
parent | af8350c756cb48a738474738f7bf8c0e572fa057 (diff) |
arm: i.MX/MX1 SDHC implements SD cards read-only switch read-back
The patch enables to define MMC host get_ro() method through platform data.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-arm/arch-imx/mmc.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/asm-arm/arch-imx/mmc.h b/include/asm-arm/arch-imx/mmc.h index 84c726934ace..4712f354dcca 100644 --- a/include/asm-arm/arch-imx/mmc.h +++ b/include/asm-arm/arch-imx/mmc.h | |||
@@ -3,8 +3,11 @@ | |||
3 | 3 | ||
4 | #include <linux/mmc/host.h> | 4 | #include <linux/mmc/host.h> |
5 | 5 | ||
6 | struct device; | ||
7 | |||
6 | struct imxmmc_platform_data { | 8 | struct imxmmc_platform_data { |
7 | int (*card_present)(void); | 9 | int (*card_present)(struct device *); |
10 | int (*get_ro)(struct device *); | ||
8 | }; | 11 | }; |
9 | 12 | ||
10 | extern void imx_set_mmc_info(struct imxmmc_platform_data *info); | 13 | extern void imx_set_mmc_info(struct imxmmc_platform_data *info); |