From: Linus Walleij Date: Sun, 20 Aug 2017 21:39:07 +0000 (+0200) Subject: mmc: ops: export mmc_get_status() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1bee324a5627ab05ff9899709a613b8739813eda;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git mmc: ops: export mmc_get_status() This function retrieves the status of the card with the default number of retries. Since the block layer wants to use this, and since the block layer is a loadable kernel module, we need to export this symbol. Signed-off-by: Linus Walleij Signed-off-by: Ulf Hansson --- diff --git a/drivers/mmc/core/mmc_ops.c b/drivers/mmc/core/mmc_ops.c index 6dd8ecde5079..54686ca4bfb7 100644 --- a/drivers/mmc/core/mmc_ops.c +++ b/drivers/mmc/core/mmc_ops.c @@ -83,6 +83,7 @@ int mmc_send_status(struct mmc_card *card, u32 *status) { return __mmc_send_status(card, status, MMC_CMD_RETRIES); } +EXPORT_SYMBOL_GPL(mmc_send_status); static int _mmc_select_card(struct mmc_host *host, struct mmc_card *card) {