Commit 00d9990a authored by Jason Yan's avatar Jason Yan Committed by Jassi Brar
Browse files

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: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarJason Yan <yanaijie@huawei.com>
Signed-off-by: default avatarJassi Brar <jaswinder.singh@linaro.org>
parent ffeb595d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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",