projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13da9e1
)
greybus: core: fix greybus driver registration
author
Johan Hovold
<johan@hovoldconsulting.com>
Fri, 8 Jan 2016 19:13:42 +0000
(20:13 +0100)
committer
Greg Kroah-Hartman
<gregkh@google.com>
Sat, 9 Jan 2016 08:41:46 +0000
(
00:41
-0800)
Add missing bus type to driver structure when registering a greybus
driver.
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/core.c
patch
|
blob
|
history
diff --git
a/drivers/staging/greybus/core.c
b/drivers/staging/greybus/core.c
index
209e1cd
..
c56c0c4
100644
(file)
--- a/
drivers/staging/greybus/core.c
+++ b/
drivers/staging/greybus/core.c
@@
-162,6
+162,7
@@
int greybus_register_driver(struct greybus_driver *driver, struct module *owner,
if (greybus_disabled())
return -ENODEV;
+ driver->driver.bus = &greybus_bus_type;
driver->driver.name = driver->name;
driver->driver.probe = greybus_probe;
driver->driver.remove = greybus_remove;