summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2005-10-10 04:23:50 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2005-10-29 03:47:45 +0400
commita85ee6b50c8a1fca4034c8d6b21c91a8de171e01 (patch)
tree918db1cf85b59641ff3802273b7a27d32ecd3303
parent4e67185a7ac3ecb1710e636e2f7e318e99298c7a (diff)
downloadlinux-a85ee6b50c8a1fca4034c8d6b21c91a8de171e01.tar.xz
[PATCH] USB: S3C2410 OHCI - add driver owner field
Initialise the .owner field of the driver with the module that owns it, to aid in linking drivers to modules. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/usb/host/ohci-s3c2410.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/ohci-s3c2410.c b/drivers/usb/host/ohci-s3c2410.c
index 3225d455f459..fab420a2ce71 100644
--- a/drivers/usb/host/ohci-s3c2410.c
+++ b/drivers/usb/host/ohci-s3c2410.c
@@ -474,6 +474,7 @@ static int ohci_hcd_s3c2410_drv_remove(struct device *dev)
static struct device_driver ohci_hcd_s3c2410_driver = {
.name = "s3c2410-ohci",
+ .owner = THIS_MODULE,
.bus = &platform_bus_type,
.probe = ohci_hcd_s3c2410_drv_probe,
.remove = ohci_hcd_s3c2410_drv_remove,