Skip to contentSkip to conversation

omap3evm: Wrap function under CONFIG_USB_OMAP3

PATCH New Sanjeev Premi 2 participants 2 messages Oct 19, 2010 – Nov 3, 2010 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 board/ti/evm/evm.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
board/ti/evm/evm.c +2 -0
index 9948b9c..73330db 100644
@@ -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
Signature · 1 line
1.7.2.2

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

PATCH 1/1 omap3evm: Wrap function under CONFIG_USB_OMAP3

Quoted 7 lines
Quoted 7 lines

-----Original Message-----
From: Premi, Sanjeev
Sent: Tuesday, October 19, 2010 6:36 PM
To: u-boot at lists.denx.de
Cc: Premi, Sanjeev
Subject: [PATCH] omap3evm: Wrap function under CONFIG_USB_OMAP3

Quoted 7 lines
Quoted 7 lines

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

Wrapped this function in #ifdef CONFIG_USB_OMAP3.

---

Sandeep,

Pinging for status...

~sanjeev