omap3evm: Wrap function under CONFIG_USB_OMAP3
authorSanjeev Premi <premi@ti.com>
Thu, 4 Nov 2010 20:02:29 +0000 (16:02 -0400)
committerSandeep Paulraj <s-paulraj@ti.com>
Thu, 4 Nov 2010 20:02:29 +0000 (16:02 -0400)
commit63f42400e50c7ebede2974b421db765324ad8c8e
treef67ea28578566b83cbec613b8351046328056224
parent6a1e58eb6aa691ad45a36c57f1f241c25940fa0b
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: Sanjeev Premi <premi@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
board/ti/evm/evm.c