提交 63f42400 编写于 作者: S Sanjeev Premi 提交者: Sandeep Paulraj

omap3evm: Wrap function under CONFIG_USB_OMAP3

The function omap3_evm_need_extvbus() is required
only when USB support is configured.

Wrapped this function in #ifdef CONFIG_USB_OMAP3.
Signed-off-by: NSanjeev Premi <premi@ti.com>
Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
上级 6a1e58eb
......@@ -64,6 +64,7 @@ static void omap3_evm_get_revision(void)
}
}
#ifdef CONFIG_USB_OMAP3
/*
* MUSB port on OMAP3EVM Rev >= E requires extvbus programming.
*/
......@@ -76,6 +77,7 @@ u8 omap3_evm_need_extvbus(void)
return retval;
}
#endif
/*
* Routine: board_init
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册