mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-12 08:48:48 +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
@ -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…
x
Reference in New Issue
Block a user