summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mmc/sdhci.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/mmc/sdhci.h b/include/linux/mmc/sdhci.h
index 4a0d6edb680..27cdb01e766 100644
--- a/include/linux/mmc/sdhci.h
+++ b/include/linux/mmc/sdhci.h
@@ -117,7 +117,7 @@ struct sdhci_host {
#define DEKKER_EMMC_CHIP_ACTIVE 0
#define DEKKER_EMMC_CHIP_SUSPENDED 1
- atomic_t usage_cnt; /* eMMC mutex usage count */
+ unsigned int usage_cnt; /* eMMC mutex usage count */
const struct sdhci_ops *ops; /* Low level hw interface */
@@ -133,6 +133,7 @@ struct sdhci_host {
#endif
spinlock_t lock; /* Mutex */
+ spinlock_t dekker_lock; /* eMMC Dekker Mutex lock */
int flags; /* Host attributes */
#define SDHCI_USE_SDMA (1<<0) /* Host is SDMA capable */