diff options
| -rw-r--r-- | include/linux/mfd/tmio.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h index d83af39815ab..99bf3e665997 100644 --- a/include/linux/mfd/tmio.h +++ b/include/linux/mfd/tmio.h | |||
| @@ -65,12 +65,6 @@ | |||
| 65 | */ | 65 | */ |
| 66 | #define TMIO_MMC_SDIO_IRQ (1 << 2) | 66 | #define TMIO_MMC_SDIO_IRQ (1 << 2) |
| 67 | /* | 67 | /* |
| 68 | * Some platforms can detect card insertion events with controller powered | ||
| 69 | * down, using a GPIO IRQ, in which case they have to fill in cd_irq, cd_gpio, | ||
| 70 | * and cd_flags fields of struct tmio_mmc_data. | ||
| 71 | */ | ||
| 72 | #define TMIO_MMC_HAS_COLD_CD (1 << 3) | ||
| 73 | /* | ||
| 74 | * Some controllers require waiting for the SD bus to become | 68 | * Some controllers require waiting for the SD bus to become |
| 75 | * idle before writing to some registers. | 69 | * idle before writing to some registers. |
| 76 | */ | 70 | */ |
| @@ -117,18 +111,6 @@ struct tmio_mmc_data { | |||
| 117 | }; | 111 | }; |
| 118 | 112 | ||
| 119 | /* | 113 | /* |
| 120 | * This function is deprecated and will be removed soon. Please, convert your | ||
| 121 | * platform to use drivers/mmc/core/cd-gpio.c | ||
| 122 | */ | ||
| 123 | #include <linux/mmc/host.h> | ||
| 124 | static inline void tmio_mmc_cd_wakeup(struct tmio_mmc_data *pdata) | ||
| 125 | { | ||
| 126 | if (pdata) | ||
| 127 | mmc_detect_change(dev_get_drvdata(pdata->dev), | ||
| 128 | msecs_to_jiffies(100)); | ||
| 129 | } | ||
| 130 | |||
| 131 | /* | ||
| 132 | * data for the NAND controller | 114 | * data for the NAND controller |
| 133 | */ | 115 | */ |
| 134 | struct tmio_nand_data { | 116 | struct tmio_nand_data { |
