From: Michał Kępień Date: Tue, 11 Aug 2015 12:07:00 +0000 (+0200) Subject: staging: unisys: make visorbus_dev_groups static X-Git-Tag: v4.3-rc1~158^2~47 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cf7281c9ae9a5f0435630f8e972bb4c6204565bc;p=platform%2Fkernel%2Flinux-exynos.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 ac39feb..2309f5f 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, };