diff options
Diffstat (limited to 'include/linux/mmc')
-rw-r--r-- | include/linux/mmc/core.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/include/linux/mmc/core.h b/include/linux/mmc/core.h index 43a92736be63..8945da9b54fa 100644 --- a/include/linux/mmc/core.h +++ b/include/linux/mmc/core.h | |||
@@ -114,7 +114,18 @@ extern int mmc_wait_for_app_cmd(struct mmc_host *, struct mmc_card *, | |||
114 | 114 | ||
115 | extern void mmc_set_data_timeout(struct mmc_data *, const struct mmc_card *); | 115 | extern void mmc_set_data_timeout(struct mmc_data *, const struct mmc_card *); |
116 | 116 | ||
117 | extern void mmc_claim_host(struct mmc_host *host); | 117 | extern int __mmc_claim_host(struct mmc_host *host, atomic_t *abort); |
118 | extern void mmc_release_host(struct mmc_host *host); | 118 | extern void mmc_release_host(struct mmc_host *host); |
119 | 119 | ||
120 | /** | ||
121 | * mmc_claim_host - exclusively claim a host | ||
122 | * @host: mmc host to claim | ||
123 | * | ||
124 | * Claim a host for a set of operations. | ||
125 | */ | ||
126 | static inline void mmc_claim_host(struct mmc_host *host) | ||
127 | { | ||
128 | __mmc_claim_host(host, NULL); | ||
129 | } | ||
130 | |||
120 | #endif | 131 | #endif |