summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/uhci-hcd.c
diff options
context:
space:
mode:
authorBen Dooks <ben@fluff.org.uk>2005-10-10 03:32:15 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2005-10-29 01:47:45 +0200
commitefa400db5332ba341cc354c9d8a5298ff57faa98 (patch)
treec7c5084e0a329813b38ca2d43f9d04c3eef2a0f4 /drivers/usb/host/uhci-hcd.c
parent[PATCH] USB: gadget drivers - add .owner initialisation (diff)
downloadlinux-efa400db5332ba341cc354c9d8a5298ff57faa98.tar.xz
linux-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/uhci-hcd.c')
-rw-r--r--drivers/usb/host/uhci-hcd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/uhci-hcd.c b/drivers/usb/host/uhci-hcd.c
index d33ce3982a5f..15e0a511069b 100644
--- a/drivers/usb/host/uhci-hcd.c
+++ b/drivers/usb/host/uhci-hcd.c
@@ -831,6 +831,7 @@ MODULE_DEVICE_TABLE(pci, uhci_pci_ids);
static struct pci_driver uhci_pci_driver = {
.name = (char *)hcd_name,
.id_table = uhci_pci_ids,
+ .owner = THIS_MODULE,
.probe = usb_hcd_pci_probe,
.remove = usb_hcd_pci_remove,