diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-06-30 17:40:30 -0400 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2008-07-15 08:14:47 -0400 |
commit | cf0984c8edf63017fcc2ead212ca057877e345df (patch) | |
tree | bcd9e4b23eb0da4b201e1ff4e0f86d3d3420b514 /include/asm-arm/plat-s3c24xx | |
parent | edb5a98e43682d66c98ddd1dee863d867807546e (diff) |
MMC: S3C24XX: Add support to invert write protect line
Support for inverting the sense of the MMC driver's write
protect detection line.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'include/asm-arm/plat-s3c24xx')
-rw-r--r-- | include/asm-arm/plat-s3c24xx/mci.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-arm/plat-s3c24xx/mci.h b/include/asm-arm/plat-s3c24xx/mci.h index 5be2c1449c6d..4f4ccd18f0cb 100644 --- a/include/asm-arm/plat-s3c24xx/mci.h +++ b/include/asm-arm/plat-s3c24xx/mci.h | |||
@@ -2,6 +2,8 @@ | |||
2 | #define _ARCH_MCI_H | 2 | #define _ARCH_MCI_H |
3 | 3 | ||
4 | struct s3c24xx_mci_pdata { | 4 | struct s3c24xx_mci_pdata { |
5 | unsigned int wprotect_invert : 1; | ||
6 | |||
5 | unsigned int gpio_detect; | 7 | unsigned int gpio_detect; |
6 | unsigned int gpio_wprotect; | 8 | unsigned int gpio_wprotect; |
7 | unsigned long ocr_avail; | 9 | unsigned long ocr_avail; |