From: Ben Dooks Date: Tue, 21 Jun 2016 15:16:19 +0000 (+0100) Subject: bus: mvebu-mbus: make mvebu_mbus_syscore_ops static X-Git-Tag: v4.14-rc1~2747^2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ac29abf38176ec149671b01d228e0a9dc38e4e60;p=platform%2Fkernel%2Flinux-rpi.git bus: mvebu-mbus: make mvebu_mbus_syscore_ops static Make mvebu_mbus_syscore_ops static as it does not get used or declared outside mvebu-mbus.c to fix the following sparse warning: linux/drivers/bus/mvebu-mbus.c:1092:20: warning: symbol 'mvebu_mbus_syscore_ops' was not declared. Should it be static? Signed-off-by: Ben Dooks Acked-by: Arnd Bergmann Signed-off-by: Gregory CLEMENT --- diff --git a/drivers/bus/mvebu-mbus.c b/drivers/bus/mvebu-mbus.c index 8cac3b8..c7f3969 100644 --- a/drivers/bus/mvebu-mbus.c +++ b/drivers/bus/mvebu-mbus.c @@ -1089,7 +1089,7 @@ static void mvebu_mbus_resume(void) } } -struct syscore_ops mvebu_mbus_syscore_ops = { +static struct syscore_ops mvebu_mbus_syscore_ops = { .suspend = mvebu_mbus_suspend, .resume = mvebu_mbus_resume, };