summaryrefslogtreecommitdiff
path: root/drivers/usb/host/ehci-fsl.c
diff options
context:
space:
mode:
authorLibo Chen <libo.chen@huawei.com>2013-05-11 00:48:23 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-16 17:48:28 -0700
commit9e873d429b583e59b25d0705d705239844a98717 (patch)
tree96800201815ecea2fc93fa9c8b3db5f86bf03cb5 /drivers/usb/host/ehci-fsl.c
parentadb6595c699dd74ba9c56bf9b4d72deeaa503c01 (diff)
usb: fsl: add missing platform_driver owner
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen <libo.chen@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ehci-fsl.c')
-rw-r--r--drivers/usb/host/ehci-fsl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c
index 3be3df233a0e..bd831ec06dcd 100644
--- a/drivers/usb/host/ehci-fsl.c
+++ b/drivers/usb/host/ehci-fsl.c
@@ -732,6 +732,7 @@ static struct platform_driver ehci_fsl_driver = {
.shutdown = usb_hcd_platform_shutdown,
.driver = {
.name = "fsl-ehci",
+ .owner = THIS_MODULE,
.pm = EHCI_FSL_PM_OPS,
},
};