Skip to content

Commit 519c51a

Browse files
Colin Ian Kingstorulf
authored andcommitted
mmc: sdhci-of-at91: make function sdhci_at91_set_uhs_signaling static
The function sdhci_at91_set_uhs_signaling is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: symbol 'sdhci_at91_set_uhs_signaling' was not declared. Should it be static? Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
1 parent 085cc3a commit 519c51a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/mmc/host/sdhci-of-at91.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ static void sdhci_at91_set_power(struct sdhci_host *host, unsigned char mode,
114114
sdhci_set_power_noreg(host, mode, vdd);
115115
}
116116

117-
void sdhci_at91_set_uhs_signaling(struct sdhci_host *host, unsigned int timing)
117+
static void sdhci_at91_set_uhs_signaling(struct sdhci_host *host,
118+
unsigned int timing)
118119
{
119120
if (timing == MMC_TIMING_MMC_DDR52)
120121
sdhci_writeb(host, SDMMC_MC1R_DDR, SDMMC_MC1R);

0 commit comments

Comments
 (0)