提交 9e873d42 编写于 作者: L Libo Chen 提交者: Greg Kroah-Hartman

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: NLibo Chen <libo.chen@huawei.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 adb6595c
......@@ -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,
},
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册