mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 01:10:04 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue