summaryrefslogtreecommitdiff
path: root/include/asm-arm
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2008-06-30 22:40:30 +0100
committerPierre Ossman <drzeus@drzeus.cx>2008-07-15 14:14:47 +0200
commitcf0984c8edf63017fcc2ead212ca057877e345df (patch)
treebcd9e4b23eb0da4b201e1ff4e0f86d3d3420b514 /include/asm-arm
parentedb5a98e43682d66c98ddd1dee863d867807546e (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')
-rw-r--r--include/asm-arm/plat-s3c24xx/mci.h2
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 @@
#define _ARCH_MCI_H
struct s3c24xx_mci_pdata {
+ unsigned int wprotect_invert : 1;
+
unsigned int gpio_detect;
unsigned int gpio_wprotect;
unsigned long ocr_avail;