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: 058feb5366 ("mmc: sdhci-bcm-kona: make linker-section warning go away")
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Tested-by: Markus Mayer <markus.mayer@linaro.org>
Acked-by: Matt Porter <mporter@linaro.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Chris Ball <chris@printf.net>
This commit is contained in:
Russell King 2014-03-04 16:25:51 -05:00 коммит произвёл Chris Ball
Родитель a2e771522c
Коммит 4025ce24f3
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -336,7 +336,7 @@ err_pltfm_free:
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);