From patchwork Thu May 2 21:02:56 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 2513791 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork1.kernel.org (Postfix) with ESMTP id DEC733FCA5 for ; Thu, 2 May 2013 21:03:46 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UY0f2-00061o-KY; Thu, 02 May 2013 21:03:29 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UY0ew-00021X-8x; Thu, 02 May 2013 21:03:22 +0000 Received: from moutng.kundenserver.de ([212.227.17.9]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UY0ee-0001y5-1N for linux-arm-kernel@lists.infradead.org; Thu, 02 May 2013 21:03:07 +0000 Received: from wuerfel.lan (HSI-KBW-095-208-002-043.hsi5.kabel-badenwuerttemberg.de [95.208.2.43]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0MHMsV-1UkxCV1BCd-00Dr9B; Thu, 02 May 2013 23:02:40 +0200 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 7/9] ARM: OMAP: don't select SERIAL_OMAP unconditionally Date: Thu, 2 May 2013 23:02:56 +0200 Message-Id: <1367528578-518090-8-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1367528578-518090-1-git-send-email-arnd@arndb.de> References: <1367528578-518090-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:Axfgsyj/NW1GdLqlohZfaBCSAJ+vnUgTm6H9tVamQsD yPMR7+fx36PmNLVnSkvotR2PH1Z5tDkvCo8i4BzdZL7RuZoYa4 sAD7Uk3H1hCFPBX4utjJw8mBgJZCvHRQnou8YUohkgIgufyi/G cTe/m4yRQVewJLtrphtU09vuMDvH/jy/JIXb22a9/2UYJYyNyZ rnMXOhGjG/CKSzM1WRut72cS5Brf5sEPggd54l/mKjE/rW/cFs BQpyxNjGyFHnMhJyez3A4WGvt7qIfzbQDzNahdaQb73dyKct9A xu/Nt8Ay3vuhSLeILyTievNAUPxD+WgdWlNJxNIV5DLyiKkfML JIM0f0CKEK9qGnY8F8NVXUvilVAQGOy3jUvU9O/mS X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130502_170304_269630_7427087E X-CRM114-Status: UNSURE ( 9.70 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [212.227.17.9 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Tony Lindgren , arm@kernel.org, Arnd Bergmann X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org It is possible to build a kernel without TTY support, so we must not attempt to select SERIAL_OMAP in that case. warning: (ARCH_OMAP2PLUS_TYPICAL) selects SERIAL_OMAP which has unmet direct dependencies (TTY && HAS_IOMEM && GENERIC_HARDIRQS && ARCH_OMAP2PLUS) Cc: Tony Lindgren Signed-off-by: Arnd Bergmann --- arch/arm/mach-omap2/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index 857b1f0..a95c7af 100644 --- a/arch/arm/mach-omap2/Kconfig +++ b/arch/arm/mach-omap2/Kconfig @@ -37,8 +37,8 @@ config ARCH_OMAP2PLUS_TYPICAL select NEON if ARCH_OMAP3 || ARCH_OMAP4 || SOC_OMAP5 select PM_RUNTIME select REGULATOR - select SERIAL_OMAP - select SERIAL_OMAP_CONSOLE + select SERIAL_OMAP if TTY + select SERIAL_OMAP_CONSOLE if TTY select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4 select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4 select VFP