From patchwork Thu Jan 18 13:15:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 124947 Delivered-To: patch@linaro.org Received: by 10.46.64.27 with SMTP id n27csp121650lja; Thu, 18 Jan 2018 05:16:24 -0800 (PST) X-Google-Smtp-Source: ACJfBosV2hTCwYRf8x0R3henezsp76NdqN7F177g+eNaYWvWnbl+Y2ItGFypw0AwyJrFN+Fx5nvJ X-Received: by 10.99.60.13 with SMTP id j13mr1116433pga.306.1516281384397; Thu, 18 Jan 2018 05:16:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516281384; cv=none; d=google.com; s=arc-20160816; b=xGCYpWH38ZsNDqTxSZW74J4lgKVEzp4qcux9PAuUsVCoZK1pELhLolhbkr3zbkYE5E L+YqorPn9KIOGg4R7L2wsvEyxfTBnQSQaU0e3ceyJ/2s9qZyCozfnLrBsoH8uQbATc1K CIvPkumryjpxOawinuWXWFra56A9gonmZRPs8fAxK/OYOzdSKghWFl3/0PV33oqrYwoI l4B0W1EKGSexA3atvALheKlMUa5iOCqRCr2RFKmzpkPMDWrUb44A7TDUb26PYoKXQBeC Rair3z+DWs3F5AzZSZDdVQ2cj1s/kwVHOPat9TFwi9zEtGCaB+ldJNvKUlbgBCuCLaWl jsFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=e1FLBGhBzdRU/ldzLHLw2H422RqPWimwn8pc2SNu650=; b=bnC94BUmNsNmaM7YW78uqh1blunMBB9Aqug54zDCxqw9IP8318H2XfXHXsyRkzRCWK 1oozRxZtsduKxpvvOKOra9iyh06ck95iQlpJBevJqzykrhSsX7HrRGEVU3TiW/fGxpOe NaEbGY36+ujR2Wk8JWeQI8Zi9Jdj3uL0P6xgmphwpIBUcHZ1wFLhKexPBpm/AZt6iRnj CHMVzAIt7yitm79UseHWRcTzVHVDVc7ZKcuHwedfv8msZrI72pXwowsaahdD1Qkgo3/J jPmI7InTMX7x96Vwws8RjoRvf4D+Omz+lDXjyWj6EQYAGY3T1tUrruGzoDg4QDB/fEPx oTog== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m6si1059958pgr.468.2018.01.18.05.16.24; Thu, 18 Jan 2018 05:16:24 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756165AbeARNQW (ORCPT + 28 others); Thu, 18 Jan 2018 08:16:22 -0500 Received: from mout.kundenserver.de ([212.227.126.187]:60103 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755715AbeARNQV (ORCPT ); Thu, 18 Jan 2018 08:16:21 -0500 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue004 [212.227.15.129]) with ESMTPA (Nemesis) id 0MUjkW-1eJXGr3bX2-00Y7bs; Thu, 18 Jan 2018 14:16:14 +0100 From: Arnd Bergmann To: Lorenzo Pieralisi , Bjorn Helgaas Cc: Arnd Bergmann , Kishon Vijay Abraham I , Jingoo Han , Niklas Cassel , Peter Robinson , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] PCI: dwc: dra7xx: add back CONFIG_PCI dependency for endpoint Date: Thu, 18 Jan 2018 14:15:54 +0100 Message-Id: <20180118131612.871559-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:vKijkjhO10LvwMNTwDDKOUTz9eC7zRO2bmY1UyhwXRppisYKc6E DP/cseULXbFsmJPkpSEzlL10y4+1dpchfURAw2UDEOAAnHd2iCAhXK+JWGoXsLf9pkMgeip VgAIyyaERH7jUuUjsPpb1czSia1oSEMRDQPUWqAr1x+ycNLDbSNDJQVpZMBaWf90q6FzeKV tBNMIA7UTKcrvqBUoPTdA== X-UI-Out-Filterresults: notjunk:1; V01:K0:I3m17UKc/L8=:IYQilnUodq8r1jI3LkU8ph +/QEftg9PVEiU7TnP0tLgDQiQUmQn7Oj16FCEzexV3rkMo/mwluG31bk8r8t8V1r89HDKCEai TPhPsx49+/9H/AkDxrm9rTxz+x1DSpIBkLEWrPMBXDoSZhJGsrWB3le3PO3ueCqVT403/+qzh vl7ivHnmiD5GIQ8Ze1Ns7v9BBD+aZ+J/ZmcLqkg8qBup37rlk2jbbUVZyFN9KnzTtWRjWRnXF GLwSoXLt57VExKEo/cyWH3wOQm2X4m5ECc1XDvYI8JVgBECLHfWfCDxbP3aPTG61u/DKtnzyG QwLdbvf0IstJAz1J8kj9LPn0zpO5AU5uMMtqTHPUd0FbPE+7VxeXn1MC7FvMBB5FAHVG1Gou6 9E56L4aZkevM6Jpwxi1IR/zvUFCs6p5iOpDEnVfgJh+6PBhVc9zIH9lHmCTGZmMmLKAbj01PT us1AJMS3sN+jETm0I33tnbT/V5lZX90OEDXNFgGYLP7vI8qfqpS8xQIDQd2BVq0p1fYm7YCVL vG0uNZqdtv7brEg8VEw/20qTFjepuKPDs1Qq23n0CuQu2CzPrZPeTR6oo92cCUIP/bDux+GRX 4AXBiaXuQoBZSr1rr46dPDCEZUvLB7d7yZjeMdzWLoJdtiQr/6z2HZDqWIHSkNg3Fittrfmrk KLVBIWKPCy3dYrmO2TvxjzSpCfdoHoNv1slbDuKQu+UioJnMyGbrJIGHzK+xRLiZcFY9Rr0Fx Mvvm8Yhc3kg4qbmyBOnbVqWE3tlcteL1ckPY7g== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It was a nice idea to split out the PCI host and endpoint mode configuration into separate options. Unfortunately it doesn't build: drivers/pci/dwc/pci-dra7xx.c:229:11: error: 'pci_irqd_intx_xlate' undeclared here (not in a function) This is certainly a fixable problem, but since it's clear that this configuration was never tested, let's maybe revert back to the dependency for now, until it can be done in a way that works better. Fixes: b052835c6385 ("PCI: dwc: dra7xx: Refactor Kconfig and Makefile handling for host/ep mode") Signed-off-by: Arnd Bergmann --- drivers/pci/dwc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.9.0 Acked-by: Arnd Bergmann Acked-by: Lorenzo Pieralisi diff --git a/drivers/pci/dwc/Kconfig b/drivers/pci/dwc/Kconfig index 0fb96c7754de..540419527a92 100644 --- a/drivers/pci/dwc/Kconfig +++ b/drivers/pci/dwc/Kconfig @@ -36,7 +36,7 @@ config PCI_DRA7XX_HOST config PCI_DRA7XX_EP bool "TI DRA7xx PCIe controller Endpoint Mode" depends on SOC_DRA7XX || COMPILE_TEST - depends on PCI_ENDPOINT + depends on PCI && PCI_ENDPOINT depends on OF && HAS_IOMEM && TI_PIPE3 select PCIE_DW_EP select PCI_DRA7XX