summaryrefslogtreecommitdiff
path: root/drivers/usb/host/ehci-fsl.c
diff options
context:
space:
mode:
authorLibo Chen <libo.chen@huawei.com>2013-05-10 20:48:23 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-17 04:48:28 +0400
commit9e873d429b583e59b25d0705d705239844a98717 (patch)
tree96800201815ecea2fc93fa9c8b3db5f86bf03cb5 /drivers/usb/host/ehci-fsl.c
parentadb6595c699dd74ba9c56bf9b4d72deeaa503c01 (diff)
downloadlinux-9e873d429b583e59b25d0705d705239844a98717.tar.xz
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,
},
};