aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mmc/mmc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mmc/mmc.h')
-rw-r--r--include/linux/mmc/mmc.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/include/linux/mmc/mmc.h b/include/linux/mmc/mmc.h
index cdc54be804f1..b3d80efc6434 100644
--- a/include/linux/mmc/mmc.h
+++ b/include/linux/mmc/mmc.h
@@ -8,7 +8,6 @@
8#ifndef MMC_H 8#ifndef MMC_H
9#define MMC_H 9#define MMC_H
10 10
11#include <linux/list.h>
12#include <linux/interrupt.h> 11#include <linux/interrupt.h>
13#include <linux/device.h> 12#include <linux/device.h>
14 13
@@ -107,13 +106,7 @@ extern int mmc_wait_for_app_cmd(struct mmc_host *, unsigned int,
107 106
108extern void mmc_set_data_timeout(struct mmc_data *, const struct mmc_card *, int); 107extern void mmc_set_data_timeout(struct mmc_data *, const struct mmc_card *, int);
109 108
110extern int __mmc_claim_host(struct mmc_host *host, struct mmc_card *card); 109extern void mmc_claim_host(struct mmc_host *host);
111
112static inline void mmc_claim_host(struct mmc_host *host)
113{
114 __mmc_claim_host(host, (struct mmc_card *)-1);
115}
116
117extern void mmc_release_host(struct mmc_host *host); 110extern void mmc_release_host(struct mmc_host *host);
118 111
119#endif 112#endif