hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/include/linux/platform_data/mmc-s3cmci.h
....@@ -7,7 +7,6 @@
77 * @no_wprotect: Set this to indicate there is no write-protect switch.
88 * @no_detect: Set this if there is no detect switch.
99 * @wprotect_invert: Invert the default sense of the write protect switch.
10
- * @detect_invert: Invert the default sense of the write protect switch.
1110 * @use_dma: Set to allow the use of DMA.
1211 * @gpio_detect: GPIO number for the card detect line.
1312 * @gpio_wprotect: GPIO number for the write protect line.
....@@ -31,14 +30,12 @@
3130 unsigned int no_wprotect:1;
3231 unsigned int no_detect:1;
3332 unsigned int wprotect_invert:1;
34
- unsigned int detect_invert:1; /* set => detect active high */
3533 unsigned int use_dma:1;
3634
37
- unsigned int gpio_detect;
38
- unsigned int gpio_wprotect;
3935 unsigned long ocr_avail;
4036 void (*set_power)(unsigned char power_mode,
4137 unsigned short vdd);
38
+ struct gpio_desc *bus[6];
4239 };
4340
4441 /**
....@@ -48,6 +45,7 @@
4845 * Copy the platform data supplied by @pdata so that this can be marked
4946 * __initdata.
5047 */
48
+extern void s3c24xx_mci_def_set_power(unsigned char power_mode, unsigned short vdd);
5149 extern void s3c24xx_mci_set_platdata(struct s3c24xx_mci_pdata *pdata);
5250
5351 #endif /* _ARCH_NCI_H */