mmc: sdhci-of-arasan: Fix non static symbol warning
Subsystems (3)
PATCH 1/1 mmc: sdhci-of-arasan: Fix non static symbol warning
From: Wei Yongjun <[email protected]>
Fixes the following sparse warning:
drivers/mmc/host/sdhci-of-arasan.c:253:6: warning:
symbol 'sdhci_arasan_reset' was not declared. Should it be static?
--- drivers/mmc/host/sdhci-of-arasan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/sdhci-of-arasan.c +1 -1
@@ -250,7 +250,7 @@ static void sdhci_arasan_hs400_enhanced_strobe(struct mmc_host *mmc,writel (vendor, host->ioaddr +SDHCI_ARASAN_VENDOR_REGISTER ); } -void sdhci_arasan_reset (struct sdhci_host *host,u8 mask) +static void sdhci_arasan_reset (struct sdhci_host *host,u8 mask) {u8 ctrl;struct sdhci_pltfm_host *pltfm_host =sdhci_priv (host);
PATCH 1/1 mmc: sdhci-of-arasan: Fix non static symbol warning
Quoted 8 lines · Wei Yongjun
From: Wei Yongjun <[email protected]>
Fixes the following sparse warning:
drivers/mmc/host/sdhci-of-arasan.c:253:6: warning:
symbol 'sdhci_arasan_reset' was not declared. Should it be static?Signed-off-by Wei Yongjun <[email protected]>
S?ren
Adrian Hunter
maintainerPATCH 1/1 mmc: sdhci-of-arasan: Fix non static symbol warning
In reply to Wei YongjunQuoted 8 lines · Wei Yongjun
From: Wei Yongjun <[email protected]>
Fixes the following sparse warning:
drivers/mmc/host/sdhci-of-arasan.c:253:6: warning:
symbol 'sdhci_arasan_reset' was not declared. Should it be static?Signed-off-by Wei Yongjun <[email protected]>
Quoted 21 lines
--- drivers/mmc/host/sdhci-of-arasan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/mmc/host/sdhci-of-arasan.c +1
-1@@ -250,7 +250,7 @@ static void sdhci_arasan_hs400_enhanced_strobe(struct mmc_host *mmc,writel (vendor, host->ioaddr +SDHCI_ARASAN_VENDOR_REGISTER ); } -void sdhci_arasan_reset (struct sdhci_host *host,u8 mask) +static void sdhci_arasan_reset (struct sdhci_host *host,u8 mask) {u8 ctrl;struct sdhci_pltfm_host *pltfm_host =sdhci_priv (host);
Ulf Hansson
AppliedPATCH 1/1 mmc: sdhci-of-arasan: Fix non static symbol warning
In reply to Wei YongjunQuoted 8 lines · Wei Yongjun
From: Wei Yongjun <[email protected]>
Fixes the following sparse warning:
drivers/mmc/host/sdhci-of-arasan.c:253:6: warning:
symbol 'sdhci_arasan_reset' was not declared. Should it be static?Signed-off-by Wei Yongjun <[email protected]>
Thanks, applied for fixes!
Kind regards
Uffe
Quoted 20 lines
--- drivers/mmc/host/sdhci-of-arasan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/mmc/host/sdhci-of-arasan.c +1
-1@@ -250,7 +250,7 @@ static void sdhci_arasan_hs400_enhanced_strobe(struct mmc_host *mmc,writel (vendor, host->ioaddr +SDHCI_ARASAN_VENDOR_REGISTER ); } -void sdhci_arasan_reset (struct sdhci_host *host,u8 mask) +static void sdhci_arasan_reset (struct sdhci_host *host,u8 mask) {u8 ctrl;struct sdhci_pltfm_host *pltfm_host =sdhci_priv (host);