2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 06:34:11 +08:00

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: Michał Kępień <kernel@kempniu.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Michał Kępień 2015-08-11 14:07:00 +02:00 committed by Greg Kroah-Hartman
parent 110a66be3a
commit cf7281c9ae

View File

@ -96,7 +96,7 @@ static const struct attribute_group visorbus_dev_group = {
.attrs = visorbus_dev_attrs,
};
const struct attribute_group *visorbus_dev_groups[] = {
static const struct attribute_group *visorbus_dev_groups[] = {
&visorbus_dev_group,
NULL,
};