Commit cf7281c9 authored by Michał Kępień's avatar Michał Kępień Committed by Greg Kroah-Hartman

staging: unisys: make visorbus_dev_groups static

visorbus_dev_groups is not referenced outside visorbus_main.c, so it can
be declared static.

Found using sparse.
Signed-off-by: default avatarMichał Kępień <kernel@kempniu.pl>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 110a66be
...@@ -96,7 +96,7 @@ static const struct attribute_group visorbus_dev_group = { ...@@ -96,7 +96,7 @@ static const struct attribute_group visorbus_dev_group = {
.attrs = visorbus_dev_attrs, .attrs = visorbus_dev_attrs,
}; };
const struct attribute_group *visorbus_dev_groups[] = { static const struct attribute_group *visorbus_dev_groups[] = {
&visorbus_dev_group, &visorbus_dev_group,
NULL, NULL,
}; };
......
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