From patchwork Mon Aug 5 09:07:04 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: manjunath.goudar@linaro.org X-Patchwork-Id: 18767 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vb0-f72.google.com (mail-vb0-f72.google.com [209.85.212.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 75FAE246D0 for ; Mon, 5 Aug 2013 09:07:23 +0000 (UTC) Received: by mail-vb0-f72.google.com with SMTP id f12sf4079245vbg.3 for ; Mon, 05 Aug 2013 02:07:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state:x-removed-original-auth:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=vB+TeYTpgokXA1wb7+ZpQsFkbjzA4w7KUmcNuhN3lpI=; b=Mkw51QAn6Y3RjSTUsj4yNLRaMJrN0jmUg3Cu0yAPUMYL/btjFNQaCT/OxgSHR9YKVT TtamPRoEZQ8q6oxXSxruO+aGNqrJn4BPwNFGhNTLHOJaSQNVzBeV/8xJkl3GHleOOTAA DzPB8zPK4P0bMOwbIk/FhjAIHhhtEhj3m3Q6zUmY5PrHUPGlKw6x7518ToR2JWTJIiwY XqkB10Exrz1YQ7B51uJdRUgiwVutwnTGJzvnPIyotDy46kKLNckTvSvs3ftxE+pJ/po4 7xuVWp8rIjtMOeTL1nNlAsT8S5MQvDtUyy1JC1pe1AXkfZ+VHS06NFm5Vx6SfW63ohDn VMMQ== X-Received: by 10.236.54.135 with SMTP id i7mr8354650yhc.33.1375693643167; Mon, 05 Aug 2013 02:07:23 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.34.230 with SMTP id c6ls2439382qej.79.gmail; Mon, 05 Aug 2013 02:07:23 -0700 (PDT) X-Received: by 10.59.8.232 with SMTP id dn8mr5597474ved.8.1375693643028; Mon, 05 Aug 2013 02:07:23 -0700 (PDT) Received: from mail-vb0-f41.google.com (mail-vb0-f41.google.com [209.85.212.41]) by mx.google.com with ESMTPS id ml6si4758161vec.116.2013.08.05.02.07.22 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 05 Aug 2013 02:07:23 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.41 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.41; Received: by mail-vb0-f41.google.com with SMTP id g17so2597488vbg.0 for ; Mon, 05 Aug 2013 02:07:22 -0700 (PDT) X-Received: by 10.220.164.138 with SMTP id e10mr5478854vcy.27.1375693642892; Mon, 05 Aug 2013 02:07:22 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.221.11.8 with SMTP id pc8csp77254vcb; Mon, 5 Aug 2013 02:07:22 -0700 (PDT) X-Received: by 10.69.14.165 with SMTP id fh5mr21340029pbd.81.1375693641842; Mon, 05 Aug 2013 02:07:21 -0700 (PDT) Received: from mail-pb0-f41.google.com (mail-pb0-f41.google.com [209.85.160.41]) by mx.google.com with ESMTPS id qn3si16389802pbc.2.2013.08.05.02.07.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 05 Aug 2013 02:07:21 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.41 is neither permitted nor denied by best guess record for domain of manjunath.goudar@linaro.org) client-ip=209.85.160.41; Received: by mail-pb0-f41.google.com with SMTP id rp2so3113791pbb.0 for ; Mon, 05 Aug 2013 02:07:21 -0700 (PDT) X-Received: by 10.66.119.74 with SMTP id ks10mr24087897pab.179.1375693641249; Mon, 05 Aug 2013 02:07:21 -0700 (PDT) Received: from manjunath-Latitude-E6420.LGE.NET ([203.247.149.152]) by mx.google.com with ESMTPSA id qp10sm24010352pab.13.2013.08.05.02.07.15 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 05 Aug 2013 02:07:20 -0700 (PDT) From: Manjunath Goudar To: linux-arm-kernel@lists.infradead.org Cc: patches@linaro.org, arnd@linaro.org, dsaxena@linaro.org, manjunath.goudar@linaro.org, linaro-kernel@lists.linaro.org, root , Arnd Bergmann , Greg Ungerer Subject: [PATCH] mach-ks8695/Kconfig: Make MACH_KS8695 depends on PCI Date: Mon, 5 Aug 2013 14:37:04 +0530 Message-Id: <1375693624-21548-1-git-send-email-manjunath.goudar@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Gm-Message-State: ALoCoQnpz+C3BnppQp6o7w5ya4GQkh5lwV0WSRqeON3fjsTwNXT1V9DyiLzAmVl1PXI7nBBJz5Xi X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: manjunath.goudar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.41 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: root This patch adds a Kconfig dependency on MACH_KS8695,MACH_CM* or MACH_IM* being available before PCI can be enabled. Without this patch,build system can lead to issues. This was discovered during randconfig testing, without PCI if any one of MACH_KS8695,MACH_CM* or MACH_IM* being enabled, leading to the following error: LD init/built-in.o arch/arm/mach-ks8695/built-in.o: In function `og_register_pci': arch/arm/mach-ks8695/board-og.c:47:undefined reference to `ks8695_init_pci' make: *** [vmlinux] Error 1 Signed-off-by: Manjunath Goudar Cc: Arnd Bergmann Cc: Deepak Saxena Cc: Greg Ungerer Cc: linux-arm-kernel@lists.infradead.org --- arch/arm/mach-ks8695/Kconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/mach-ks8695/Kconfig b/arch/arm/mach-ks8695/Kconfig index a545976..29d7d9f 100644 --- a/arch/arm/mach-ks8695/Kconfig +++ b/arch/arm/mach-ks8695/Kconfig @@ -5,6 +5,7 @@ menu "Kendin/Micrel KS8695 Implementations" config MACH_KS8695 bool "KS8695 development board" select MIGHT_HAVE_PCI + depends on PCI help Say 'Y' here if you want your kernel to run on the original Kendin-Micrel KS8695 development board. @@ -53,6 +54,7 @@ config MACH_CM4002 config MACH_CM4008 bool "OpenGear CM4008" select MIGHT_HAVE_PCI + depends on PCI help Say 'Y' here if you want your kernel to support the OpenGear CM4008 Console Server. See http://www.opengear.com for more @@ -61,6 +63,7 @@ config MACH_CM4008 config MACH_CM41xx bool "OpenGear CM41xx" select MIGHT_HAVE_PCI + depends on PCI help Say 'Y' here if you want your kernel to support the OpenGear CM4016 or CM4048 Console Servers. See http://www.opengear.com for @@ -69,6 +72,7 @@ config MACH_CM41xx config MACH_IM4004 bool "OpenGear IM4004" select MIGHT_HAVE_PCI + depends on PCI help Say 'Y' here if you want your kernel to support the OpenGear IM4004 Secure Access Server. See http://www.opengear.com for @@ -77,6 +81,7 @@ config MACH_IM4004 config MACH_IM42xx bool "OpenGear IM42xx" select MIGHT_HAVE_PCI + depends on PCI help Say 'Y' here if you want your kernel to support the OpenGear IM4216 or IM4248 Console Servers. See http://www.opengear.com for