greybus: make greybus_gpbdev_type static

'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>
This commit is contained in:
Greg Kroah-Hartman
2016-05-14 23:20:52 +02:00
parent 8888b96374
commit 8502eb3b78
+1 -1
View 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,
};