Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9e873d42 authored by Libo Chen's avatar Libo Chen Committed by Greg Kroah-Hartman
Browse files

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: default avatarLibo Chen <libo.chen@huawei.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent adb6595c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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,
	},
};