hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/include/linux/spi/mmc_spi.h
....@@ -8,11 +8,6 @@
88 struct device;
99 struct mmc_host;
1010
11
-#define MMC_SPI_USE_CD_GPIO (1 << 0)
12
-#define MMC_SPI_USE_RO_GPIO (1 << 1)
13
-#define MMC_SPI_CD_GPIO_ACTIVE_LOW (1 << 2)
14
-#define MMC_SPI_RO_GPIO_ACTIVE_LOW (1 << 3)
15
-
1611 /* Put this in platform_data of a device being used to manage an MMC/SD
1712 * card slot. (Modeled after PXA mmc glue; see that for usage examples.)
1813 *
....@@ -26,16 +21,6 @@
2621 irqreturn_t (*)(int, void *),
2722 void *);
2823 void (*exit)(struct device *, void *);
29
-
30
- /*
31
- * Card Detect and Read Only GPIOs. To enable debouncing on the card
32
- * detect GPIO, set the cd_debounce to the debounce time in
33
- * microseconds.
34
- */
35
- unsigned int flags;
36
- unsigned int cd_gpio;
37
- unsigned int cd_debounce;
38
- unsigned int ro_gpio;
3924
4025 /* Capabilities to pass into mmc core (e.g. MMC_CAP_NEEDS_POLL). */
4126 unsigned long caps;