.. | .. |
---|
7 | 7 | * @no_wprotect: Set this to indicate there is no write-protect switch. |
---|
8 | 8 | * @no_detect: Set this if there is no detect switch. |
---|
9 | 9 | * @wprotect_invert: Invert the default sense of the write protect switch. |
---|
10 | | - * @detect_invert: Invert the default sense of the write protect switch. |
---|
11 | 10 | * @use_dma: Set to allow the use of DMA. |
---|
12 | 11 | * @gpio_detect: GPIO number for the card detect line. |
---|
13 | 12 | * @gpio_wprotect: GPIO number for the write protect line. |
---|
.. | .. |
---|
31 | 30 | unsigned int no_wprotect:1; |
---|
32 | 31 | unsigned int no_detect:1; |
---|
33 | 32 | unsigned int wprotect_invert:1; |
---|
34 | | - unsigned int detect_invert:1; /* set => detect active high */ |
---|
35 | 33 | unsigned int use_dma:1; |
---|
36 | 34 | |
---|
37 | | - unsigned int gpio_detect; |
---|
38 | | - unsigned int gpio_wprotect; |
---|
39 | 35 | unsigned long ocr_avail; |
---|
40 | 36 | void (*set_power)(unsigned char power_mode, |
---|
41 | 37 | unsigned short vdd); |
---|
| 38 | + struct gpio_desc *bus[6]; |
---|
42 | 39 | }; |
---|
43 | 40 | |
---|
44 | 41 | /** |
---|
.. | .. |
---|
48 | 45 | * Copy the platform data supplied by @pdata so that this can be marked |
---|
49 | 46 | * __initdata. |
---|
50 | 47 | */ |
---|
| 48 | +extern void s3c24xx_mci_def_set_power(unsigned char power_mode, unsigned short vdd); |
---|
51 | 49 | extern void s3c24xx_mci_set_platdata(struct s3c24xx_mci_pdata *pdata); |
---|
52 | 50 | |
---|
53 | 51 | #endif /* _ARCH_NCI_H */ |
---|