RE: Latest config warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: linux-omap-owner@xxxxxxxxxxxxxxx 
> [mailto:linux-omap-owner@xxxxxxxxxxxxxxx] On Behalf Of Tony Lindgren
> Sent: Friday, January 07, 2011 10:18 PM
> To: Russell King - ARM Linux; Balbi, Felipe
> Cc: linux-omap@xxxxxxxxxxxxxxx
> Subject: Re: Latest config warning
> 
> * Russell King - ARM Linux <linux@xxxxxxxxxxxxxxxx> [110107 03:34]:
> > warning: (ARCH_STMP3XXX && <choice> || ARCH_OMAP3 && 
> ARCH_OMAP2PLUS) selects USB_ARCH_HAS_EHCI which has unmet 
> direct dependencies (USB_SUPPORT)
> > 
> > This didn't happen with 2.6.37.  Maybe a missing select USB_SUPPORT
> > somewhere?
> 

I had come across this while building the "minimal kernel" for omap3evm.
Here is my local patch:

>From bd4efa15ec96116b359d18913c91bcbb45b46ee1 Mon Sep 17 00:00:00 2001
From: Sanjeev Premi <premi@xxxxxx>
Date: Tue, 4 Jan 2011 18:37:39 +0530
Subject: [PATCH] omap3: fix Kconfig dependency on USB_SUPPORT

This patch fixes the following warning due to unmet dependency:

warning: (ARCH_STMP3XXX && <choice> || ARCH_OMAP3 && ARCH_OMAP
2PLUS) selects USB_ARCH_HAS_EHCI which has unmet direct depend
encies (USB_SUPPORT)

Signed-off-by: Sanjeev Premi <premi@xxxxxx>
---
 arch/arm/mach-omap2/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
index 310b759..3d67b9b 100644
--- a/arch/arm/mach-omap2/Kconfig
+++ b/arch/arm/mach-omap2/Kconfig
@@ -33,7 +33,7 @@ config ARCH_OMAP3
 	depends on ARCH_OMAP2PLUS
 	default y
 	select CPU_V7
-	select USB_ARCH_HAS_EHCI
+	select USB_ARCH_HAS_EHCI if USB_SUPPORT
 	select ARM_L1_CACHE_SHIFT_6 if !ARCH_OMAP4
 	select ARCH_HAS_OPP if PM
  	select PM_OPP if PM
-- 
1.7.2.2

If this is a real solution, I can submit it as formal patch

~sanjeev

> Felipe, care to take a look at this one?
> 
> Regards,
> 
> Tony
> --
> To unsubscribe from this list: send the line "unsubscribe 
> linux-omap" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> --
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux