From 3c48d1b8a5a9571c9107fc7f2b5aea31d458fd18 Mon Sep 17 00:00:00 2001 From: Johan Hovold Date: Fri, 8 Jan 2016 20:13:42 +0100 Subject: [PATCH] greybus: core: fix greybus driver registration Add missing bus type to driver structure when registering a greybus driver. Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/greybus/core.c b/drivers/staging/greybus/core.c index 209e1cd..c56c0c4 100644 --- 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; -- 2.7.4