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:
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user