* [RFC PATCH] usb: fsl: add missing platform_driver owner
@ 2013-05-10 16:48 Libo Chen
0 siblings, 0 replies; only message in thread
From: Libo Chen @ 2013-05-10 16:48 UTC (permalink / raw)
To: stern; +Cc: linux-usb, linux-kernel, lizefan
From: Libo Chen <libo.chen@huawei.com>
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>
---
drivers/usb/host/ehci-fsl.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c
index 3be3df2..bd831ec 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,
},
};
--
1.8.1.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-05-10 16:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-10 16:48 [RFC PATCH] usb: fsl: add missing platform_driver owner Libo Chen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.