summaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2017-06-08 15:27:37 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2017-06-20 10:30:42 +0200
commit066d9cc546c20e5f4f3c3c4ca08c107506728dcb (patch)
tree4062028e75abdd15229ca521ebf59fc40a8fb904 /drivers/mmc
parent3aa9995136cdaecf7dd7b4f50a5a272f71054c33 (diff)
downloadlinux-0-day-066d9cc546c20e5f4f3c3c4ca08c107506728dcb.tar.gz
linux-0-day-066d9cc546c20e5f4f3c3c4ca08c107506728dcb.tar.xz
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: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/core/core.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
index ad8caf49c038a..d48be0b218ffb 100644
--- a/drivers/mmc/core/core.c
+++ b/drivers/mmc/core/core.c
@@ -428,7 +428,6 @@ void mmc_start_bkops(struct mmc_card *card, bool from_exception)
out:
mmc_release_host(card->host);
}
-EXPORT_SYMBOL(mmc_start_bkops);
/*
* mmc_wait_data_done() - done callback for data request
@@ -811,7 +810,6 @@ out:
mmc_release_host(card->host);
return err;
}
-EXPORT_SYMBOL(mmc_interrupt_hpi);
/**
* mmc_wait_for_cmd - start a command and wait for completion
@@ -869,7 +867,6 @@ int mmc_stop_bkops(struct mmc_card *card)
return err;
}
-EXPORT_SYMBOL(mmc_stop_bkops);
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);
return 0;
}
-EXPORT_SYMBOL(mmc_read_bkops_status);
/**
* mmc_set_data_timeout - set the timeout for a data command