Re: [PATCH 7/9] OMAP2: compile usb-tusb6010.c

2009-08-13 Thread Russell King - ARM Linux
On Tue, Aug 11, 2009 at 12:54:39PM +0300, Tony Lindgren wrote:
> From: Kalle Valo 
> 
> For some reason usb-tusb6010.c was't compiled, add it to Makefile and
> Kconfig. This is prepraration for upcoming n8x0 support.

Ok.
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH 7/9] OMAP2: compile usb-tusb6010.c

2009-08-11 Thread Tony Lindgren
From: Kalle Valo 

For some reason usb-tusb6010.c was't compiled, add it to Makefile and
Kconfig. This is prepraration for upcoming n8x0 support.

Signed-off-by: Kalle Valo 
Signed-off-by: Tony Lindgren 
---
 arch/arm/mach-omap2/Kconfig  |5 +
 arch/arm/mach-omap2/Makefile |1 +
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
index a755eb5..bf54686 100644
--- a/arch/arm/mach-omap2/Kconfig
+++ b/arch/arm/mach-omap2/Kconfig
@@ -31,6 +31,11 @@ config MACH_OMAP_GENERIC
bool "Generic OMAP board"
depends on ARCH_OMAP2 && ARCH_OMAP24XX
 
+config MACH_OMAP2_TUSB6010
+   bool
+   depends on ARCH_OMAP2 && ARCH_OMAP2420
+   default y if MACH_NOKIA_N8X0
+
 config MACH_OMAP_H4
bool "OMAP 2420 H4 board"
depends on ARCH_OMAP2 && ARCH_OMAP24XX
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile
index 2a2361e..a125d38 100644
--- a/arch/arm/mach-omap2/Makefile
+++ b/arch/arm/mach-omap2/Makefile
@@ -76,6 +76,7 @@ obj-$(CONFIG_MACH_OMAP_4430SDP)   += 
board-4430sdp.o
 
 # Platform specific device init code
 obj-y  += usb-musb.o
+obj-$(CONFIG_MACH_OMAP2_TUSB6010)  += usb-tusb6010.o
 
 onenand-$(CONFIG_MTD_ONENAND_OMAP2):= gpmc-onenand.o
 obj-y  += $(onenand-m) $(onenand-y)

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html