Skip to content

Commit 906d5ff

Browse files
ahunter6storulf
authored andcommitted
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 <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
1 parent 1ac9906 commit 906d5ff

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

drivers/mmc/core/core.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,12 @@ static inline void mmc_unregister_pm_notifier(struct mmc_host *host) { }
107107
void mmc_wait_for_req_done(struct mmc_host *host, struct mmc_request *mrq);
108108
bool mmc_is_req_done(struct mmc_host *host, struct mmc_request *mrq);
109109

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+
110116
int mmc_erase(struct mmc_card *card, unsigned int from, unsigned int nr,
111117
unsigned int arg);
112118
int mmc_can_erase(struct mmc_card *card);

include/linux/mmc/core.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,7 @@ struct mmc_request {
171171
};
172172

173173
struct mmc_card;
174-
struct mmc_async_req;
175174

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);
179175
void mmc_wait_for_req(struct mmc_host *host, struct mmc_request *mrq);
180176
int mmc_wait_for_cmd(struct mmc_host *host, struct mmc_command *cmd,
181177
int retries);

0 commit comments

Comments
 (0)