Skip to content

Commit 00d9990

Browse files
JasonYanHwJassiBrar
authored andcommitted
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 <[email protected]> Signed-off-by: Jason Yan <[email protected]> Signed-off-by: Jassi Brar <[email protected]>
1 parent ffeb595 commit 00d9990

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mailbox/pcc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ static int pcc_mbox_probe(struct platform_device *pdev)
568568
return ret;
569569
}
570570

571-
struct platform_driver pcc_mbox_driver = {
571+
static struct platform_driver pcc_mbox_driver = {
572572
.probe = pcc_mbox_probe,
573573
.driver = {
574574
.name = "PCCT",

0 commit comments

Comments
 (0)