From patchwork Fri Jun 10 15:14:33 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 869912 X-Patchwork-Delegate: me@felipebalbi.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p5AFEf5H019540 for ; Fri, 10 Jun 2011 15:14:41 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757563Ab1FJPOk (ORCPT ); Fri, 10 Jun 2011 11:14:40 -0400 Received: from na3sys009aog101.obsmtp.com ([74.125.149.67]:49507 "EHLO na3sys009aog101.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757526Ab1FJPOk (ORCPT ); Fri, 10 Jun 2011 11:14:40 -0400 Received: from mail-iw0-f173.google.com ([209.85.214.173]) (using TLSv1) by na3sys009aob101.postini.com ([74.125.148.12]) with SMTP ID DSNKTfI039wQjeWP5tMTHSD4AcR0PxxuQHh0@postini.com; Fri, 10 Jun 2011 08:14:39 PDT Received: by mail-iw0-f173.google.com with SMTP id 42so3287234iwl.18 for ; Fri, 10 Jun 2011 08:14:39 -0700 (PDT) Received: by 10.42.23.200 with SMTP id t8mr2486834icb.198.1307718878855; Fri, 10 Jun 2011 08:14:38 -0700 (PDT) Received: from localhost (dragon.ti.com [192.94.94.33]) by mx.google.com with ESMTPS id s2sm2316197icw.17.2011.06.10.08.14.36 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 10 Jun 2011 08:14:37 -0700 (PDT) From: Nishanth Menon To: linux-omap Cc: Tony , linux-arm , felipe , Nishanth Menon Subject: [PATCH] OMAP3+: Kconfig: has EHCI only if USB present Date: Fri, 10 Jun 2011 10:14:33 -0500 Message-Id: <1307718873-27652-1-git-send-email-nm@ti.com> X-Mailer: git-send-email 1.7.1 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Fri, 10 Jun 2011 15:14:41 +0000 (UTC) Attempting to disable USB generates the following warning at the moment: warning: (ARCH_OMAP3 && ARCH_OMAP4) selects USB_ARCH_HAS_EHCI which has unmet direct dependencies (USB_SUPPORT) Signed-off-by: Nishanth Menon --- based on 3.0-rc2 arch/arm/mach-omap2/Kconfig | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index ef7e12f..d5cf1a8 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 select PM_OPP if PM @@ -50,7 +50,7 @@ config ARCH_OMAP4 select ARM_ERRATA_720789 select ARCH_HAS_OPP select PM_OPP if PM - select USB_ARCH_HAS_EHCI + select USB_ARCH_HAS_EHCI if USB_SUPPORT comment "OMAP Core Type" depends on ARCH_OMAP2