提交 88bed3a6 编写于 作者: U Ulf Hansson

mmc: core: Make mmc_can_reset() static

Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
Reviewed-by: NLinus Walleij <linus.walleij@linaro.org>
Reviewed-by: NShawn Lin <shawn.lin@rock-chips.com>
上级 d9df1737
...@@ -2097,7 +2097,7 @@ static int mmc_runtime_resume(struct mmc_host *host) ...@@ -2097,7 +2097,7 @@ static int mmc_runtime_resume(struct mmc_host *host)
return 0; return 0;
} }
int mmc_can_reset(struct mmc_card *card) static int mmc_can_reset(struct mmc_card *card)
{ {
u8 rst_n_function; u8 rst_n_function;
...@@ -2106,7 +2106,6 @@ int mmc_can_reset(struct mmc_card *card) ...@@ -2106,7 +2106,6 @@ int mmc_can_reset(struct mmc_card *card)
return 0; return 0;
return 1; return 1;
} }
EXPORT_SYMBOL(mmc_can_reset);
static int mmc_reset(struct mmc_host *host) static int mmc_reset(struct mmc_host *host)
{ {
......
...@@ -43,7 +43,6 @@ int mmc_switch(struct mmc_card *card, u8 set, u8 index, u8 value, ...@@ -43,7 +43,6 @@ int mmc_switch(struct mmc_card *card, u8 set, u8 index, u8 value,
unsigned int timeout_ms); unsigned int timeout_ms);
int mmc_stop_bkops(struct mmc_card *card); int mmc_stop_bkops(struct mmc_card *card);
void mmc_start_bkops(struct mmc_card *card, bool from_exception); void mmc_start_bkops(struct mmc_card *card, bool from_exception);
int mmc_can_reset(struct mmc_card *card);
int mmc_flush_cache(struct mmc_card *card); int mmc_flush_cache(struct mmc_card *card);
int mmc_cmdq_enable(struct mmc_card *card); int mmc_cmdq_enable(struct mmc_card *card);
int mmc_cmdq_disable(struct mmc_card *card); int mmc_cmdq_disable(struct mmc_card *card);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册