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>
This commit is contained in:
Ben Dooks
2008-06-30 22:40:30 +01:00
committed by Pierre Ossman
parent edb5a98e43
commit cf0984c8ed
2 changed files with 11 additions and 2 deletions
+2
View File
@@ -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;