提交 00d9990a 编写于 作者: J Jason Yan 提交者: Jassi Brar

mailbox: pcc: make pcc_mbox_driver static

Fix the following sparse warning:

drivers/mailbox/pcc.c:571:24: warning: symbol 'pcc_mbox_driver' was not
declared. Should it be static?
Reported-by: NHulk Robot <hulkci@huawei.com>
Signed-off-by: NJason Yan <yanaijie@huawei.com>
Signed-off-by: NJassi Brar <jaswinder.singh@linaro.org>
上级 ffeb595d
...@@ -568,7 +568,7 @@ static int pcc_mbox_probe(struct platform_device *pdev) ...@@ -568,7 +568,7 @@ static int pcc_mbox_probe(struct platform_device *pdev)
return ret; return ret;
} }
struct platform_driver pcc_mbox_driver = { static struct platform_driver pcc_mbox_driver = {
.probe = pcc_mbox_probe, .probe = pcc_mbox_probe,
.driver = { .driver = {
.name = "PCCT", .name = "PCCT",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册