Commit 23888bfe authored by Ulf Hansson's avatar Ulf Hansson

mmc: core: Don't use extern declarations of public mmc functions

Using extern when declaring functions in the public header, core.h, is
redundant. Let's just remove the use of it.
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Reviewed-by: default avatarShawn Lin <shawn.lin@rock-chips.com>
parent 5857b29b
...@@ -158,13 +158,14 @@ struct mmc_request { ...@@ -158,13 +158,14 @@ struct mmc_request {
struct mmc_card; struct mmc_card;
struct mmc_async_req; struct mmc_async_req;
extern struct mmc_async_req *mmc_start_req(struct mmc_host *, struct mmc_async_req *mmc_start_req(struct mmc_host *host,
struct mmc_async_req *, struct mmc_async_req *areq,
enum mmc_blk_status *); enum mmc_blk_status *ret_stat);
extern void mmc_wait_for_req(struct mmc_host *, struct mmc_request *); void mmc_wait_for_req(struct mmc_host *host, struct mmc_request *mrq);
extern int mmc_wait_for_cmd(struct mmc_host *, struct mmc_command *, int); int mmc_wait_for_cmd(struct mmc_host *host, struct mmc_command *cmd,
int retries);
extern int mmc_hw_reset(struct mmc_host *host);
extern void mmc_set_data_timeout(struct mmc_data *, const struct mmc_card *); int mmc_hw_reset(struct mmc_host *host);
void mmc_set_data_timeout(struct mmc_data *data, const struct mmc_card *card);
#endif /* LINUX_MMC_CORE_H */ #endif /* LINUX_MMC_CORE_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment