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:
parent
110a66be3a
commit
cf7281c9ae
@ -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,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user