diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-03-04 16:25:51 -0500 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-05-15 09:56:17 +0200 |
commit | 440fc6193a5ee6004c816da57530982232285f57 (patch) | |
tree | 4c9050e20d5c4089bc8ab8fcd0fb444dfca3f471 | |
parent | 743660fdf68a4462c81b1de3b728c7d6f2c19d0b (diff) |
mmc: sdhci-bcm-kona: fix build errors when built-in
commit 4025ce24f326830135341814307c072f6c2a7738 upstream.
`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: 058feb53666f ("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>
Signed-off-by: Chris Ball <chris@printf.net>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
-rw-r--r-- | drivers/mmc/host/sdhci-bcm-kona.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-bcm-kona.c b/drivers/mmc/host/sdhci-bcm-kona.c index 85472d3fd37..d002eb9e01c 100644 --- a/drivers/mmc/host/sdhci-bcm-kona.c +++ b/drivers/mmc/host/sdhci-bcm-kona.c @@ -314,7 +314,7 @@ err_pltfm_free: 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); int dead; |