diff options
author | Libo Chen <libo.chen@huawei.com> | 2013-05-11 00:48:23 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-16 17:48:28 -0700 |
commit | 9e873d429b583e59b25d0705d705239844a98717 (patch) | |
tree | 96800201815ecea2fc93fa9c8b3db5f86bf03cb5 /drivers/usb/host/ehci-fsl.c | |
parent | adb6595c699dd74ba9c56bf9b4d72deeaa503c01 (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.c | 1 |
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, }, }; |