提交 066d9cc5 编写于 作者: U Ulf Hansson

mmc: core: Don't export some eMMC specific functions from core.c

The mmc_start|stop_bkops(), mmc_read_bkops_status() and mmc_interrupt_hpi()
functions are all used from within the mmc core module, thus there are no
need to use EXPORT_SYMBOL() for them, so let's remove it.
Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
Reviewed-by: NShawn Lin <shawn.lin@rock-chips.com>
上级 3aa99951
...@@ -428,7 +428,6 @@ void mmc_start_bkops(struct mmc_card *card, bool from_exception) ...@@ -428,7 +428,6 @@ void mmc_start_bkops(struct mmc_card *card, bool from_exception)
out: out:
mmc_release_host(card->host); mmc_release_host(card->host);
} }
EXPORT_SYMBOL(mmc_start_bkops);
/* /*
* mmc_wait_data_done() - done callback for data request * mmc_wait_data_done() - done callback for data request
...@@ -811,7 +810,6 @@ int mmc_interrupt_hpi(struct mmc_card *card) ...@@ -811,7 +810,6 @@ int mmc_interrupt_hpi(struct mmc_card *card)
mmc_release_host(card->host); mmc_release_host(card->host);
return err; return err;
} }
EXPORT_SYMBOL(mmc_interrupt_hpi);
/** /**
* mmc_wait_for_cmd - start a command and wait for completion * mmc_wait_for_cmd - start a command and wait for completion
...@@ -869,7 +867,6 @@ int mmc_stop_bkops(struct mmc_card *card) ...@@ -869,7 +867,6 @@ int mmc_stop_bkops(struct mmc_card *card)
return err; return err;
} }
EXPORT_SYMBOL(mmc_stop_bkops);
int mmc_read_bkops_status(struct mmc_card *card) int mmc_read_bkops_status(struct mmc_card *card)
{ {
...@@ -887,7 +884,6 @@ int mmc_read_bkops_status(struct mmc_card *card) ...@@ -887,7 +884,6 @@ int mmc_read_bkops_status(struct mmc_card *card)
kfree(ext_csd); kfree(ext_csd);
return 0; return 0;
} }
EXPORT_SYMBOL(mmc_read_bkops_status);
/** /**
* mmc_set_data_timeout - set the timeout for a data command * mmc_set_data_timeout - set the timeout for a data command
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册