summaryrefslogtreecommitdiff
path: root/drivers/mailbox/pcc.c
diff options
context:
space:
mode:
authorJason Yan <yanaijie@huawei.com>2020-04-03 06:52:08 +0300
committerJassi Brar <jaswinder.singh@linaro.org>2020-05-31 00:06:22 +0300
commit00d9990acb23c4319a1dc961d4e29a9213923b67 (patch)
tree7a609911c0ee9287b68c34ad10bb57a11fdc9e43 /drivers/mailbox/pcc.c
parentffeb595d84811dde16a28b33d8a7cf26d51d51b3 (diff)
downloadlinux-00d9990acb23c4319a1dc961d4e29a9213923b67.tar.xz
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: Hulk Robot <hulkci@huawei.com> Signed-off-by: Jason Yan <yanaijie@huawei.com> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'drivers/mailbox/pcc.c')
-rw-r--r--drivers/mailbox/pcc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mailbox/pcc.c b/drivers/mailbox/pcc.c
index 34844b7a3675..8c7fac38bb1c 100644
--- a/drivers/mailbox/pcc.c
+++ b/drivers/mailbox/pcc.c
@@ -568,7 +568,7 @@ static int pcc_mbox_probe(struct platform_device *pdev)
return ret;
}
-struct platform_driver pcc_mbox_driver = {
+static struct platform_driver pcc_mbox_driver = {
.probe = pcc_mbox_probe,
.driver = {
.name = "PCCT",