1
0
Fork 0

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 <ben.dooks@codethink.co.uk>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
hifive-unleashed-5.1
Ben Dooks 2016-06-21 16:16:19 +01:00 committed by Gregory CLEMENT
parent fce7b5ae12
commit ac29abf381
1 changed files with 1 additions and 1 deletions

View File

@ -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,
};