Commit 00d9990a authored by Jason Yan's avatar Jason Yan Committed by 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: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarJason Yan <yanaijie@huawei.com>
Signed-off-by: default avatarJassi Brar <jaswinder.singh@linaro.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment