From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932183Ab2CAT1h (ORCPT ); Thu, 1 Mar 2012 14:27:37 -0500 Received: from mail-yx0-f174.google.com ([209.85.213.174]:39960 "EHLO mail-yx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964992Ab2CAT1c (ORCPT ); Thu, 1 Mar 2012 14:27:32 -0500 Authentication-Results: mr.google.com; spf=pass (google.com: domain of alan@signal11.us designates 10.236.181.74 as permitted sender) smtp.mail=alan@signal11.us MIME-Version: 1.0 From: Alan Ott To: Russell King , Colin Cross , Olof Johansson , Stephen Warren , Grant Likely , Linus Walleij , Alan Stern , Greg Kroah-Hartman , Lucas De Marchi , Arnd Bergmann , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org, linux-usb@vger.kernel.org Cc: Arnd Bergmann Subject: [PATCH 6/8] ARM: tegra: USB_ULPI needs USB Date: Thu, 1 Mar 2012 14:26:48 -0500 Message-Id: <1330630010-11241-7-git-send-email-alan@signal11.us> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1330630010-11241-1-git-send-email-alan@signal11.us> References: <1330630010-11241-1-git-send-email-alan@signal11.us> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann The USB_ULPI driver is selected by tegra, but can only be built if at least one of USB or USB_GADGET is enabled. The kernel fails to link if both are off. Signed-off-by: Arnd Bergmann --- arch/arm/mach-tegra/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig index b2a038e..7ac3011 100644 --- a/arch/arm/mach-tegra/Kconfig +++ b/arch/arm/mach-tegra/Kconfig @@ -10,6 +10,7 @@ config ARCH_TEGRA_2x_SOC select USB_ARCH_HAS_EHCI if USB_SUPPORT select USB_ULPI if USB_SUPPORT select USB_ULPI_VIEWPORT if USB_SUPPORT + select USB_GADGET if USB_SUPPORT && !USB select CPU_FREQ_TABLE if CPU_FREQ help Support for NVIDIA Tegra AP20 and T20 processors, based on the -- 1.7.0.4