]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
[PATCH] USB: S3C2410 OHCI - add driver owner field
authorBen Dooks <ben-linux@fluff.org>
Mon, 10 Oct 2005 00:23:50 +0000 (01:23 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 28 Oct 2005 23:47:45 +0000 (16:47 -0700)
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>
drivers/usb/host/ohci-s3c2410.c

index 3225d455f459ce3f00099bd9833e20979bf4329a..fab420a2ce712b4bcbcbb6ed38a6ba32b0e18f5c 100644 (file)
@@ -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,