summaryrefslogtreecommitdiffstats
path: root/include/linux/mmc/host.h
diff options
context:
space:
mode:
authorUlf Hansson2013-09-13 11:31:33 +0200
committerChris Ball2013-10-31 01:26:29 +0100
commit6904115095ad60ced638eb1e36e0e4e5e7de00b0 (patch)
tree7bf979ff85dbf5a97c0aef99624293b67a54b094 /include/linux/mmc/host.h
parentmmc: core: Cleanup code for setting ocr mask for SDIO (diff)
downloadkernel-qcow2-linux-6904115095ad60ced638eb1e36e0e4e5e7de00b0.tar.gz
kernel-qcow2-linux-6904115095ad60ced638eb1e36e0e4e5e7de00b0.tar.xz
kernel-qcow2-linux-6904115095ad60ced638eb1e36e0e4e5e7de00b0.zip
mmc: core: Move cached value of the negotiated ocr mask to card struct
The negotiated ocr mask is directly related to the card. Once a card gets removed, the mask shall be dropped. By moving the cache of the ocr mask from the host struct to the card struct we have accomplished this. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'include/linux/mmc/host.h')
-rw-r--r--include/linux/mmc/host.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h
index 3b0c33ae13e1..1c91bbbb01c3 100644
--- a/include/linux/mmc/host.h
+++ b/include/linux/mmc/host.h
@@ -309,7 +309,6 @@ struct mmc_host {
spinlock_t lock; /* lock for claim and bus ops */
struct mmc_ios ios; /* current io bus settings */
- u32 ocr; /* the current OCR setting */
/* group bitfields together to minimize padding */
unsigned int use_spi_crc:1;