From patchwork Thu May 8 14:56:25 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 4137101 X-Patchwork-Delegate: lethal@linux-sh.org Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id EE9C7BFF02 for ; Thu, 8 May 2014 14:58:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1C5E0201EC for ; Thu, 8 May 2014 14:58:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3879C20136 for ; Thu, 8 May 2014 14:58:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754632AbaEHO6R (ORCPT ); Thu, 8 May 2014 10:58:17 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:57979 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754224AbaEHO5I (ORCPT ); Thu, 8 May 2014 10:57:08 -0400 Received: from wuerfel.lan (HSI-KBW-134-3-133-35.hsi14.kabel-badenwuerttemberg.de [134.3.133.35]) by mrelayeu.kundenserver.de (node=mreue001) with ESMTP (Nemesis) id 0MIDR0-1Wgl3U0P2k-003r6C; Thu, 08 May 2014 16:56:42 +0200 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Arnd Bergmann , Bjorn Helgaas , Magnus Damm , linux-pci@vger.kernel.org, linux-sh@vger.kernel.org Subject: [PATCH] pci: rcar host needs OF Date: Thu, 8 May 2014 16:56:25 +0200 Message-Id: <1399560990-1402858-14-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1399560990-1402858-1-git-send-email-arnd@arndb.de> References: <1399560433-1402630-1-git-send-email-arnd@arndb.de> <1399560990-1402858-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:g5pNar+1CE0cjp4VuCWBezghFh1pP8Rmfqv60cBnpiN nu6niX28JsJXj2YiLSpyAjkx4EIAMcQm2f9C47AIoc7EI4GzqA s7MhYie0HX5gkG/BNI1WVdE+kEcwqefnHUdFRu4xMshXcc98j9 Z/cLXCKEBOjXOEOkdJKALpiwveQnEDadeB9DzFeY01y2wG0Ew4 2PlqwMiS2bmmrP8SERxPyzqhzEgWqiqjgigUQqLXBvgRfntkkf nZIHzJ7yq4ebJF3W3gQGeovs4Rbb26ndcKbvtsK6q0q2iYP1L2 MKgNm4fkLPMOLzki167NZ+X9QIOtAqu8nyxDrrtPgpP5CtSJX6 cbO0SKLioMAcQycah35BFUKdw2KTxdHmeX5yhoE5i Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The pci-rcar driver is enabled for compile tests, and this has now shown that the driver cannot build without CONFIG_OF, following the inclusion of f8f2fe7355fb "PCI: rcar: Use new OF interrupt mapping when possible": drivers/built-in.o: In function `rcar_pci_map_irq': :(.text+0x1cc7c): undefined reference to `of_irq_parse_and_map_pci' Signed-off-by: Arnd Bergmann Cc: Bjorn Helgaas Cc: Magnus Damm Cc: linux-pci@vger.kernel.org Cc: linux-sh@vger.kernel.org --- drivers/pci/host/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig index fbbef0b..4675f47 100644 --- a/drivers/pci/host/Kconfig +++ b/drivers/pci/host/Kconfig @@ -27,7 +27,7 @@ config PCI_TEGRA config PCI_RCAR_GEN2 bool "Renesas R-Car Gen2 Internal PCI controller" - depends on ARCH_SHMOBILE || (ARM && COMPILE_TEST) + depends on ARCH_SHMOBILE || (ARM && OF && COMPILE_TEST) help Say Y here if you want internal PCI support on R-Car Gen2 SoC. There are 3 internal PCI controllers available with a single