summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Nikolaus Schaller <hns@goldelico.com>2020-12-23 10:01:51 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2021-02-01 11:54:44 +0100
commit67a73230fbaed9ff4902389d4f040abe57c5783c (patch)
treec80bd71ece8c5d738250464a7eec12b1661c4ed3
parentc7129b703f0431aa68cad69f7c8c506a0c98030f (diff)
mmc: omap: remove unused struct component card_detect_irq
I have not found any user for this struct component. Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com> Link: https://lore.kernel.org/r/b6f2168b863e4273c6bca5a22fbd4a3a8ddf68d6.1608714110.git.hns@goldelico.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
-rw-r--r--include/linux/platform_data/mmc-omap.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/platform_data/mmc-omap.h b/include/linux/platform_data/mmc-omap.h
index f0b8947e6b07..91051e9907f3 100644
--- a/include/linux/platform_data/mmc-omap.h
+++ b/include/linux/platform_data/mmc-omap.h
@@ -108,8 +108,7 @@ struct omap_mmc_platform_data {
const char *name;
u32 ocr_mask;
- /* Card detection IRQs */
- int card_detect_irq;
+ /* Card detection */
int (*card_detect)(struct device *dev, int slot);
unsigned int ban_openended:1;