summaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2014-01-14 03:03:33 +0100
committerChris Ball <chris@printf.net>2014-01-14 03:06:14 +0100
commit85136b74dc7fbbcaf173b660406de8aa1dd0068a (patch)
tree9a070fe9a713ae9374297474d250f3d2cc25b3db /drivers/mmc
parentmmc: sdhci-esdhc-imx: fix warning during module remove function (diff)
downloadlinux-85136b74dc7fbbcaf173b660406de8aa1dd0068a.tar.xz
linux-85136b74dc7fbbcaf173b660406de8aa1dd0068a.zip
mmc: dw_mmc: fix sparse non static symbol warning
Fixes the following sparse warning: drivers/mmc/host/dw_mmc-k3.c:116:1: warning: symbol 'dw_mci_k3_pmops' was not declared. Should it be static? Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Chris Ball <chris@printf.net>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/dw_mmc-k3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/dw_mmc-k3.c b/drivers/mmc/host/dw_mmc-k3.c
index 68e5e428e8f6..3542a03e9f99 100644
--- a/drivers/mmc/host/dw_mmc-k3.c
+++ b/drivers/mmc/host/dw_mmc-k3.c
@@ -113,7 +113,7 @@ static int dw_mci_k3_resume(struct device *dev)
return dw_mci_resume(host);
}
-SIMPLE_DEV_PM_OPS(dw_mci_k3_pmops, dw_mci_k3_suspend, dw_mci_k3_resume);
+static SIMPLE_DEV_PM_OPS(dw_mci_k3_pmops, dw_mci_k3_suspend, dw_mci_k3_resume);
static struct platform_driver dw_mci_k3_pltfm_driver = {
.probe = dw_mci_k3_probe,