diff options
author | Timo Kokkonen <timo.kokkonen@offcode.fi> | 2014-11-03 14:12:59 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2014-11-10 14:40:48 +0300 |
commit | 76d5556428fbbdf411504895b516272cad27127d (patch) | |
tree | d3fd33cd25ceaa1ea7d644ab20a6ebf2650bfa40 /include/linux/atmel-mci.h | |
parent | 0654bb3cdd5142ca8bf27a4f72bf22098394fbd5 (diff) | |
download | linux-76d5556428fbbdf411504895b516272cad27127d.tar.xz |
mmc: host: atmel-mci: Add support for non-removable slots
Add support for non-removable slots which have no card detection GPIO
and which should not be polled for a card change.
Signed-off-by: Timo Kokkonen <timo.kokkonen@offcode.fi>
Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include/linux/atmel-mci.h')
-rw-r--r-- | include/linux/atmel-mci.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/atmel-mci.h b/include/linux/atmel-mci.h index 91b77f8d495d..9177947bf032 100644 --- a/include/linux/atmel-mci.h +++ b/include/linux/atmel-mci.h @@ -11,6 +11,7 @@ * @detect_pin: GPIO pin wired to the card detect switch * @wp_pin: GPIO pin wired to the write protect sensor * @detect_is_active_high: The state of the detect pin when it is active + * @non_removable: The slot is not removable, only detect once * * If a given slot is not present on the board, @bus_width should be * set to 0. The other fields are ignored in this case. @@ -26,6 +27,7 @@ struct mci_slot_pdata { int detect_pin; int wp_pin; bool detect_is_active_high; + bool non_removable; }; /** |