diff options
author | Ben Dooks <ben.dooks@codethink.co.uk> | 2016-06-21 18:16:19 +0300 |
---|---|---|
committer | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2016-07-11 18:59:24 +0300 |
commit | ac29abf38176ec149671b01d228e0a9dc38e4e60 (patch) | |
tree | 3fa89ab0fd536c197015b0bc885a4c67f47cb50b | |
parent | fce7b5ae1273a27db341d5dfd51a8ca6ef4caa95 (diff) | |
download | linux-ac29abf38176ec149671b01d228e0a9dc38e4e60.tar.xz |
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>
-rw-r--r-- | drivers/bus/mvebu-mbus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bus/mvebu-mbus.c b/drivers/bus/mvebu-mbus.c index 8cac3b8d5c68..c7f396903184 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, }; |