From: Wei Yongjun Date: Tue, 18 Dec 2018 07:15:41 +0000 (+0000) Subject: mmc: sdhci_am654: Make symbol 'sdhci_am654_ops' static X-Git-Tag: v5.4-rc1~1549^2~70 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4e47345a0c3f4a7895f78a3c0ab3812f3324f96b;p=platform%2Fkernel%2Flinux-rpi.git mmc: sdhci_am654: Make symbol 'sdhci_am654_ops' static Fixes the following sparse warning: drivers/mmc/host/sdhci_am654.c:161:18: warning: symbol 'sdhci_am654_ops' was not declared. Should it be static? Fixes: aff88ff23512 ("mmc: sdhci_am654: Add Initial Support for AM654 SDHCI driver") Signed-off-by: Wei Yongjun Signed-off-by: Ulf Hansson --- diff --git a/drivers/mmc/host/sdhci_am654.c b/drivers/mmc/host/sdhci_am654.c index 8c05879..eea183e 100644 --- a/drivers/mmc/host/sdhci_am654.c +++ b/drivers/mmc/host/sdhci_am654.c @@ -158,7 +158,7 @@ static void sdhci_am654_set_power(struct sdhci_host *host, unsigned char mode, sdhci_set_power_noreg(host, mode, vdd); } -struct sdhci_ops sdhci_am654_ops = { +static struct sdhci_ops sdhci_am654_ops = { .get_max_clock = sdhci_pltfm_clk_get_max_clock, .get_timeout_clock = sdhci_pltfm_clk_get_max_clock, .set_uhs_signaling = sdhci_set_uhs_signaling,