greybus: make greybus_gpbdev_type static
authorGreg Kroah-Hartman <gregkh@google.com>
Sat, 14 May 2016 17:22:24 +0000 (19:22 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Sat, 14 May 2016 21:20:52 +0000 (23:20 +0200)
'make check' correctly complains that this should be static, so make it
so.

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/gpbridge.c

index f082658..88f7d26 100644 (file)
@@ -50,7 +50,7 @@ static void gpbdev_release(struct device *dev)
        kfree(gpbdev);
 }
 
-struct device_type greybus_gpbdev_type = {
+static struct device_type greybus_gpbdev_type = {
        .name    =      "gpbridge_device",
        .release =      gpbdev_release,
 };