mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[email protected]>
Tested-by: Markus Mayer <[email protected]>
Acked-by: Matt Porter <[email protected]>
Cc: <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
This commit is contained in:
parent
a2e771522c
commit
4025ce24f3
1 changed files with 1 additions and 1 deletions
|
|
@ -336,7 +336,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);
|
||||
struct sdhci_pltfm_host *pltfm_priv = sdhci_priv(host);
|
||||
|
|
|
|||
Loading…
Reference in a new issue