[PATCH] USB: add owner initialisation to host drivers
Add .owner initialisation to the device drivers in drivers/usb/host so that when built as module the device_driver refers to the owning module Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
d0d5049fb0
commit
efa400db53
@@ -1831,6 +1831,7 @@ sl811h_resume(struct device *dev)
|
||||
struct device_driver sl811h_driver = {
|
||||
.name = (char *) hcd_name,
|
||||
.bus = &platform_bus_type,
|
||||
.owner = THIS_MODULE,
|
||||
|
||||
.probe = sl811h_probe,
|
||||
.remove = __devexit_p(sl811h_remove),
|
||||
|
Reference in New Issue
Block a user