mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
ARM: OMAP1: USB: make omap_otg_init() static
Make omap_otg_init() static. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
parent
7e600cadda
commit
bde49e5928
2 changed files with 2 additions and 4 deletions
|
@ -10,8 +10,6 @@
|
|||
|
||||
#include <linux/platform_data/usb-omap1.h>
|
||||
|
||||
void omap_otg_init(struct omap_usb_config *config);
|
||||
|
||||
#if IS_ENABLED(CONFIG_USB)
|
||||
void omap1_usb_init(struct omap_usb_config *pdata);
|
||||
#else
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
|
||||
#ifdef CONFIG_ARCH_OMAP_OTG
|
||||
|
||||
void __init
|
||||
static void __init
|
||||
omap_otg_init(struct omap_usb_config *config)
|
||||
{
|
||||
u32 syscon;
|
||||
|
@ -166,7 +166,7 @@ omap_otg_init(struct omap_usb_config *config)
|
|||
}
|
||||
|
||||
#else
|
||||
void omap_otg_init(struct omap_usb_config *config) {}
|
||||
static void omap_otg_init(struct omap_usb_config *config) {}
|
||||
#endif
|
||||
|
||||
#if IS_ENABLED(CONFIG_USB_OMAP)
|
||||
|
|
Loading…
Reference in a new issue