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

Commit 19d8cedd authored by Denis Efremov's avatar Denis Efremov Committed by Felipe Balbi
Browse files

usb: phy: remove exported function from __init section



The symbol usb_bind_phy is exported and annotated __init.
It looks like section mismatch. Fix by removing the
__init annotation of usb_bind_phy.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: default avatarDenis Efremov <yefremov.denis@gmail.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent abe7a409
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -413,7 +413,7 @@ EXPORT_SYMBOL_GPL(usb_remove_phy);
 *
 * To be used by platform specific initialization code.
 */
int __init usb_bind_phy(const char *dev_name, u8 index,
int usb_bind_phy(const char *dev_name, u8 index,
				const char *phy_dev_name)
{
	struct usb_phy_bind *phy_bind;