summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/hsmmc-omap.h
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-09-24 13:30:50 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2018-10-08 11:40:43 +0200
commit7838a8ddc80b2aa82d364d39042ca422f7748885 (patch)
tree479d3b545eac068bd12f0a79bf5d27dc1d21f641 /include/linux/platform_data/hsmmc-omap.h
parentac379b7ca1b0a664db2b36fc960f2e940698d4e4 (diff)
mmc: omap_hsmmc: Kill off cover detection
Cover detection appears to be a feature protecting the SD card on mobile phones with a slide-cover, such as some Nokia phones. The idea seems to be to not allow access to the SD card when the cover is open. It is only usable with platform data from board files, but no board file in the kernel is using it, yet it takes up a sizeable chunk of code in the OMAP HSMMC driver. Since we do not add new board files for the OMAPs any target that need this should anyway reimplement it properly using the device tree, so delete this legacy code. The driver is marked as orphan in MAINTAINERS by the way. Cc: Tony Lindgren <tony@atomide.com> Cc: linux-omap@vger.kernel.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Tony Lindgren <tony@atomide.com> Acked-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include/linux/platform_data/hsmmc-omap.h')
-rw-r--r--include/linux/platform_data/hsmmc-omap.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/platform_data/hsmmc-omap.h b/include/linux/platform_data/hsmmc-omap.h
index 73d9098ada2d..c055d7eda085 100644
--- a/include/linux/platform_data/hsmmc-omap.h
+++ b/include/linux/platform_data/hsmmc-omap.h
@@ -71,7 +71,6 @@ struct omap_hsmmc_platform_data {
char *version;
int gpio_cd; /* gpio (card detect) */
- int gpio_cod; /* gpio (cover detect) */
int gpio_wp; /* gpio (write protect) */
/* if we have special card, init it using this callback */
void (*init_card)(struct mmc_card *card);