From: Michał Kępień Date: Tue, 11 Aug 2015 12:07:00 +0000 (+0200) Subject: staging: unisys: make visorbus_dev_groups static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cf7281c9ae9a5f0435630f8e972bb4c6204565bc;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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ń Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/unisys/visorbus/visorbus_main.c b/drivers/staging/unisys/visorbus/visorbus_main.c index ac39febdac55..2309f5f2b238 100644 --- a/drivers/staging/unisys/visorbus/visorbus_main.c +++ b/drivers/staging/unisys/visorbus/visorbus_main.c @@ -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, };