projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8888b96
)
greybus: make greybus_gpbdev_type static
author
Greg Kroah-Hartman
<gregkh@google.com>
Sat, 14 May 2016 17:22:24 +0000
(19:22 +0200)
committer
Greg 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
patch
|
blob
|
history
diff --git
a/drivers/staging/greybus/gpbridge.c
b/drivers/staging/greybus/gpbridge.c
index
f082658
..
88f7d26
100644
(file)
--- a/
drivers/staging/greybus/gpbridge.c
+++ b/
drivers/staging/greybus/gpbridge.c
@@
-50,7
+50,7
@@
static void gpbdev_release(struct device *dev)
kfree(gpbdev);
}
-struct device_type greybus_gpbdev_type = {
+st
atic st
ruct device_type greybus_gpbdev_type = {
.name = "gpbridge_device",
.release = gpbdev_release,
};