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>
This commit is contained in:
parent
ffeb595d84
commit
00d9990acb
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user