Commit ac29abf3 authored by Ben Dooks's avatar Ben Dooks Committed by Gregory CLEMENT

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: default avatarBen Dooks <ben.dooks@codethink.co.uk>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarGregory CLEMENT <gregory.clement@free-electrons.com>
parent fce7b5ae
...@@ -1089,7 +1089,7 @@ static void mvebu_mbus_resume(void) ...@@ -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, .suspend = mvebu_mbus_suspend,
.resume = mvebu_mbus_resume, .resume = mvebu_mbus_resume,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment