summaryrefslogtreecommitdiff
path: root/drivers/usb/host/ohci-au1xxx.c
diff options
context:
space:
mode:
authorBen Dooks <ben@fluff.org.uk>2005-10-10 02:32:15 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2005-10-28 16:47:45 -0700
commitefa400db5332ba341cc354c9d8a5298ff57faa98 (patch)
treec7c5084e0a329813b38ca2d43f9d04c3eef2a0f4 /drivers/usb/host/ohci-au1xxx.c
parentd0d5049fb02fc1082c17e08deecd6fed8db549b6 (diff)
downloadlwn-efa400db5332ba341cc354c9d8a5298ff57faa98.tar.gz
lwn-efa400db5332ba341cc354c9d8a5298ff57faa98.zip
[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>
Diffstat (limited to 'drivers/usb/host/ohci-au1xxx.c')
-rw-r--r--drivers/usb/host/ohci-au1xxx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/ohci-au1xxx.c b/drivers/usb/host/ohci-au1xxx.c
index ac463c493035..a277e258eb6c 100644
--- a/drivers/usb/host/ohci-au1xxx.c
+++ b/drivers/usb/host/ohci-au1xxx.c
@@ -264,6 +264,7 @@ static int ohci_hcd_au1xxx_drv_resume(struct device *dev)
static struct device_driver ohci_hcd_au1xxx_driver = {
.name = "au1xxx-ohci",
+ .owner = THIS_MODULE,
.bus = &platform_bus_type,
.probe = ohci_hcd_au1xxx_drv_probe,
.remove = ohci_hcd_au1xxx_drv_remove,