aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm
diff options
context:
space:
mode:
authorPavel Pisa <ppisa4lists@pikron.com>2007-09-23 16:59:01 -0400
committerPierre Ossman <drzeus@drzeus.cx>2007-09-24 13:33:14 -0400
commitfaf39ede5e6325d3e91b6e4e0017d27fbecb6022 (patch)
tree52c99935cda486c982f1ff6c238ceb12b7601498 /include/asm-arm
parentaf8350c756cb48a738474738f7bf8c0e572fa057 (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/asm-arm')
-rw-r--r--include/asm-arm/arch-imx/mmc.h5
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
6struct device;
7
6struct imxmmc_platform_data { 8struct imxmmc_platform_data {
7 int (*card_present)(void); 9 int (*card_present)(struct device *);
10 int (*get_ro)(struct device *);
8}; 11};
9 12
10extern void imx_set_mmc_info(struct imxmmc_platform_data *info); 13extern void imx_set_mmc_info(struct imxmmc_platform_data *info);