projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffeb595
)
mailbox: pcc: make pcc_mbox_driver static
author
Jason Yan
<yanaijie@huawei.com>
Fri, 3 Apr 2020 03:52:08 +0000
(11:52 +0800)
committer
Jassi Brar
<jaswinder.singh@linaro.org>
Sat, 30 May 2020 21:06:22 +0000
(16:06 -0500)
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>
drivers/mailbox/pcc.c
patch
|
blob
|
history
diff --git
a/drivers/mailbox/pcc.c
b/drivers/mailbox/pcc.c
index
34844b7
..
8c7fac3
100644
(file)
--- 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 = {
+st
atic st
ruct platform_driver pcc_mbox_driver = {
.probe = pcc_mbox_probe,
.driver = {
.name = "PCCT",