* [PATCH -next] mmc: dw_mmc: fix sparse non static symbol warning
@ 2014-01-14 2:03 Wei Yongjun
2014-01-14 2:07 ` Chris Ball
2014-01-14 2:09 ` zhangfei
0 siblings, 2 replies; 3+ messages in thread
From: Wei Yongjun @ 2014-01-14 2:03 UTC (permalink / raw)
To: tgih.jun, jh80.chung, chris, grant.likely, robh+dt, zhangfei.gao
Cc: yongjun_wei, linux-mmc
From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
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>
---
drivers/mmc/host/dw_mmc-k3.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mmc/host/dw_mmc-k3.c b/drivers/mmc/host/dw_mmc-k3.c
index 68e5e42..3542a03 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,
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH -next] mmc: dw_mmc: fix sparse non static symbol warning
2014-01-14 2:03 [PATCH -next] mmc: dw_mmc: fix sparse non static symbol warning Wei Yongjun
@ 2014-01-14 2:07 ` Chris Ball
2014-01-14 2:09 ` zhangfei
1 sibling, 0 replies; 3+ messages in thread
From: Chris Ball @ 2014-01-14 2:07 UTC (permalink / raw)
To: Wei Yongjun
Cc: tgih.jun, jh80.chung, grant.likely, robh+dt, zhangfei.gao,
yongjun_wei, linux-mmc
Hi,
On Tue, Jan 14 2014, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
>
> 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>
Thanks, pushed to mmc-next for 3.14.
- Chris.
--
Chris Ball <chris@printf.net> <http://printf.net/>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH -next] mmc: dw_mmc: fix sparse non static symbol warning
2014-01-14 2:03 [PATCH -next] mmc: dw_mmc: fix sparse non static symbol warning Wei Yongjun
2014-01-14 2:07 ` Chris Ball
@ 2014-01-14 2:09 ` zhangfei
1 sibling, 0 replies; 3+ messages in thread
From: zhangfei @ 2014-01-14 2:09 UTC (permalink / raw)
To: Wei Yongjun, tgih.jun, jh80.chung, chris, grant.likely, robh+dt
Cc: yongjun_wei, linux-mmc
On 01/14/2014 10:03 AM, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
>
> 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?
Thanks for catching up, my mistake.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-01-14 2:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-14 2:03 [PATCH -next] mmc: dw_mmc: fix sparse non static symbol warning Wei Yongjun
2014-01-14 2:07 ` Chris Ball
2014-01-14 2:09 ` zhangfei
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.