mailbox: PCC: Make pcc_mbox_driver static
PATCH 1/1 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 Zou Wei <[email protected]>
--- drivers/mailbox/pcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mailbox/pcc.c +1 -1
@@ -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" ,
Signature · 1 line
2.6.2