提交 bde49e59 编写于 作者: A Aaro Koskinen 提交者: Tony Lindgren

ARM: OMAP1: USB: make omap_otg_init() static

Make omap_otg_init() static.
Signed-off-by: NAaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: NTony Lindgren <tony@atomide.com>
上级 7e600cad
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册