summaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2018-12-18 07:15:41 +0000
committerUlf Hansson <ulf.hansson@linaro.org>2019-02-25 08:40:58 +0100
commit4e47345a0c3f4a7895f78a3c0ab3812f3324f96b (patch)
treea46ecfbee4ac64280cbeae524c54ab31e7fca21d /drivers/mmc
parent5908e6b738e3357af42c10e1183753c70a0117a9 (diff)
downloadlinux-stable-4e47345a0c3f4a7895f78a3c0ab3812f3324f96b.tar.gz
linux-stable-4e47345a0c3f4a7895f78a3c0ab3812f3324f96b.tar.bz2
linux-stable-4e47345a0c3f4a7895f78a3c0ab3812f3324f96b.zip
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 <weiyongjun1@huawei.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/sdhci_am654.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci_am654.c b/drivers/mmc/host/sdhci_am654.c
index 8c05879850a0..eea183e90f1b 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,