summaryrefslogtreecommitdiffstats
path: root/include/linux/mmc
diff options
context:
space:
mode:
authorJohan Rudholm <johan.rudholm@stericsson.com>2012-08-23 13:40:55 +0200
committerChris Ball <cjb@laptop.org>2012-09-04 13:58:27 -0400
commit3339d1e33185798a45dbdb5ea6c0bec1c27ca5fd (patch)
tree6af12b5b69f6092510345999171582a595aa9841 /include/linux/mmc
parent36c179a98a0755b98153e8f4ae08243fbfcd18ff (diff)
downloadop-kernel-dev-3339d1e33185798a45dbdb5ea6c0bec1c27ca5fd.zip
op-kernel-dev-3339d1e33185798a45dbdb5ea6c0bec1c27ca5fd.tar.gz
mmc: core: Do not rescan non-removable devices
If MMC_CAP_NONREMOVABLE is set, only issue a detect job on init. Signed-off-by: Johan Rudholm <johan.rudholm@stericsson.com> Acked-by: Ulf Hansson <ulf.hansson@linaro.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'include/linux/mmc')
-rw-r--r--include/linux/mmc/host.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h
index f578a71..d5d9bd4 100644
--- a/include/linux/mmc/host.h
+++ b/include/linux/mmc/host.h
@@ -300,6 +300,7 @@ struct mmc_host {
#endif
int rescan_disable; /* disable card detection */
+ int rescan_entered; /* used with nonremovable devices */
struct mmc_card *card; /* device attached to this host */
OpenPOWER on IntegriCloud