From patchwork Fri Aug 9 10:35:50 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 2841863 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@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 51011BF546 for ; Fri, 9 Aug 2013 10:37:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B48EF2039B for ; Fri, 9 Aug 2013 10:37:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4FCA320394 for ; Fri, 9 Aug 2013 10:37:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965774Ab3HIKhL (ORCPT ); Fri, 9 Aug 2013 06:37:11 -0400 Received: from top.free-electrons.com ([176.31.233.9]:43904 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753754Ab3HIKhK (ORCPT ); Fri, 9 Aug 2013 06:37:10 -0400 Received: by mail.free-electrons.com (Postfix, from userid 106) id 8F4236CE5; Fri, 9 Aug 2013 12:37:18 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from localhost (unknown [37.161.17.215]) by mail.free-electrons.com (Postfix) with ESMTPSA id 4CA2D6555; Fri, 9 Aug 2013 12:37:05 +0200 (CEST) From: Thomas Petazzoni To: Bjorn Helgaas , linux-pci@vger.kernel.org Cc: Ezequiel Garcia , Gregory Clement , Andrew Lunn , Jason Cooper , Lior Amsalem , linux-arm-kernel@lists.infradead.org Subject: [PATCH] PCI: mvebu: make Marvell PCIe driver depend on OF Date: Fri, 9 Aug 2013 12:35:50 +0200 Message-Id: <1376044550-30572-1-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 1.8.1.2 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The Marvell PCIe host controller driver is heavily tied to Device Tree APIs, and can only be used on platforms where the Device Tree is used. Therefore, it should "depends on OF" to avoid build failures on !OF configurations. Reported-by: Ezequiel Garcia Signed-off-by: Thomas Petazzoni Tested-by: Ezequiel Garcia --- Bjorn, you can take this one through your tree. Either for 3.11 or 3.12, at your preference. --- drivers/pci/host/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig index 1184ff6..e5ba4eb 100644 --- a/drivers/pci/host/Kconfig +++ b/drivers/pci/host/Kconfig @@ -4,6 +4,7 @@ menu "PCI host controller drivers" config PCI_MVEBU bool "Marvell EBU PCIe controller" depends on ARCH_MVEBU || ARCH_KIRKWOOD + depends on OF config PCIE_DW bool