diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2017-08-25 08:43:44 -0400 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-08-30 09:03:53 -0400 |
commit | 906d5ff6188953f4981df39e9999f858542df9ce (patch) | |
tree | 8c70abca89e372c699db781e46c4796fb5caa656 | |
parent | 1ac99066225bd0dab013f7a5f3c9f55453acd481 (diff) |
mmc: core: Move mmc_start_areq() declaration
mmc_start_areq() is an internal mmc core API. Move the declaration
accordingly.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
-rw-r--r-- | drivers/mmc/core/core.h | 6 | ||||
-rw-r--r-- | include/linux/mmc/core.h | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/drivers/mmc/core/core.h b/drivers/mmc/core/core.h index 55f543fd37c4..ca861091a776 100644 --- a/drivers/mmc/core/core.h +++ b/drivers/mmc/core/core.h | |||
@@ -107,6 +107,12 @@ static inline void mmc_unregister_pm_notifier(struct mmc_host *host) { } | |||
107 | void mmc_wait_for_req_done(struct mmc_host *host, struct mmc_request *mrq); | 107 | void mmc_wait_for_req_done(struct mmc_host *host, struct mmc_request *mrq); |
108 | bool mmc_is_req_done(struct mmc_host *host, struct mmc_request *mrq); | 108 | bool mmc_is_req_done(struct mmc_host *host, struct mmc_request *mrq); |
109 | 109 | ||
110 | struct mmc_async_req; | ||
111 | |||
112 | struct mmc_async_req *mmc_start_areq(struct mmc_host *host, | ||
113 | struct mmc_async_req *areq, | ||
114 | enum mmc_blk_status *ret_stat); | ||
115 | |||
110 | int mmc_erase(struct mmc_card *card, unsigned int from, unsigned int nr, | 116 | int mmc_erase(struct mmc_card *card, unsigned int from, unsigned int nr, |
111 | unsigned int arg); | 117 | unsigned int arg); |
112 | int mmc_can_erase(struct mmc_card *card); | 118 | int mmc_can_erase(struct mmc_card *card); |
diff --git a/include/linux/mmc/core.h b/include/linux/mmc/core.h index c6d17f626234..927519385482 100644 --- a/include/linux/mmc/core.h +++ b/include/linux/mmc/core.h | |||
@@ -171,11 +171,7 @@ struct mmc_request { | |||
171 | }; | 171 | }; |
172 | 172 | ||
173 | struct mmc_card; | 173 | struct mmc_card; |
174 | struct mmc_async_req; | ||
175 | 174 | ||
176 | struct mmc_async_req *mmc_start_areq(struct mmc_host *host, | ||
177 | struct mmc_async_req *areq, | ||
178 | enum mmc_blk_status *ret_stat); | ||
179 | void mmc_wait_for_req(struct mmc_host *host, struct mmc_request *mrq); | 175 | void mmc_wait_for_req(struct mmc_host *host, struct mmc_request *mrq); |
180 | int mmc_wait_for_cmd(struct mmc_host *host, struct mmc_command *cmd, | 176 | int mmc_wait_for_cmd(struct mmc_host *host, struct mmc_command *cmd, |
181 | int retries); | 177 | int retries); |