Skip to content

Commit

Permalink
mmc: dw_mmc: fix sparse non static symbol warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wei Yongjun authored and Chris Ball committed Jan 14, 2014
1 parent a7f2be9 commit 85136b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mmc/host/dw_mmc-k3.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 85136b7

Please sign in to comment.