From cf7281c9ae9a5f0435630f8e972bb4c6204565bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20K=C4=99pie=C5=84?= Date: Tue, 11 Aug 2015 14:07:00 +0200 Subject: [PATCH] staging: unisys: make visorbus_dev_groups static MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- drivers/staging/unisys/visorbus/visorbus_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, };