Commit 4025ce24 authored by Russell King's avatar Russell King Committed by Chris Ball

mmc: sdhci-bcm-kona: fix build errors when built-in

`sdhci_bcm_kona_remove' referenced in section `.data' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o

Fixes: 058feb53 ("mmc: sdhci-bcm-kona: make linker-section warning go away")
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
Tested-by: default avatarMarkus Mayer <markus.mayer@linaro.org>
Acked-by: default avatarMatt Porter <mporter@linaro.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarChris Ball <chris@printf.net>
parent a2e77152
...@@ -336,7 +336,7 @@ static int sdhci_bcm_kona_probe(struct platform_device *pdev) ...@@ -336,7 +336,7 @@ static int sdhci_bcm_kona_probe(struct platform_device *pdev)
return ret; return ret;
} }
static int __exit sdhci_bcm_kona_remove(struct platform_device *pdev) static int sdhci_bcm_kona_remove(struct platform_device *pdev)
{ {
struct sdhci_host *host = platform_get_drvdata(pdev); struct sdhci_host *host = platform_get_drvdata(pdev);
struct sdhci_pltfm_host *pltfm_priv = sdhci_priv(host); struct sdhci_pltfm_host *pltfm_priv = sdhci_priv(host);
......
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