projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adb6595
)
usb: fsl: add missing platform_driver owner
author
Libo Chen
<libo.chen@huawei.com>
Fri, 10 May 2013 16:48:23 +0000
(
00:48
+0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 17 May 2013 00:48:28 +0000
(17:48 -0700)
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>
drivers/usb/host/ehci-fsl.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/ehci-fsl.c
b/drivers/usb/host/ehci-fsl.c
index 3be3df233a0e0b73b8bdc198d5aae050b6e520be..bd831ec06dcd8b8192749bc31d4afd137ab361bf 100644
(file)
--- 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,
},
};