diff options
author | Denis Efremov <yefremov.denis@gmail.com> | 2013-04-18 09:13:31 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-04-23 07:13:48 -0400 |
commit | 19d8ceddda8b3a806a0960106ae6aa4dcc21df3b (patch) | |
tree | eca347897c1d92a27aa56be4a80999d09031538e /drivers/usb/phy | |
parent | abe7a4097dd0141d21d02e4bd949b377a0a75120 (diff) |
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: Denis Efremov <yefremov.denis@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/phy')
-rw-r--r-- | drivers/usb/phy/phy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/phy/phy.c b/drivers/usb/phy/phy.c index f52c006417ff..a9984c700d2c 100644 --- a/drivers/usb/phy/phy.c +++ b/drivers/usb/phy/phy.c | |||
@@ -413,7 +413,7 @@ EXPORT_SYMBOL_GPL(usb_remove_phy); | |||
413 | * | 413 | * |
414 | * To be used by platform specific initialization code. | 414 | * To be used by platform specific initialization code. |
415 | */ | 415 | */ |
416 | int __init usb_bind_phy(const char *dev_name, u8 index, | 416 | int usb_bind_phy(const char *dev_name, u8 index, |
417 | const char *phy_dev_name) | 417 | const char *phy_dev_name) |
418 | { | 418 | { |
419 | struct usb_phy_bind *phy_bind; | 419 | struct usb_phy_bind *phy_bind; |