Received: by 10.223.148.5 with SMTP id 5csp7416358wrq; Thu, 18 Jan 2018 05:17:53 -0800 (PST) X-Google-Smtp-Source: ACJfBov/f1qvfyKuYyCxvFEHWIjwk2cxY6BI6d4rVfMrFDoCXYyHzk/5XJhGssc2/K2vikiowKTa X-Received: by 10.101.98.216 with SMTP id m24mr36156195pgv.100.1516281473031; Thu, 18 Jan 2018 05:17:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516281472; cv=none; d=google.com; s=arc-20160816; b=LoZN0oBQ3O6bzHgFmmrTy0Qslq6Upac1fi+YzXyYqHfxAP/uSXzm5eS6LeGsKofBTp /NEqXC0pEIrB4n+x80a8C92T/M5VhUf4sw1WEz9Pe95XhBRvhtF3zXICzzp5d0BlM2oz qO2k4y+xZNu0av7uT5St/IeV5fhRObyMxCqqGI4dSwYXb0yG8zpKgIpcUcmKWIripzq3 8eOjl9SP8aGkZlZDHjZOdPHhpwAObwbzqaACNRpITWrTMr4ANjTzpX8KXyxtTEL+7KPo Cb1Q0B1Lwhtzz81c6hhpQ4D+NWtkX40eelrgTzZ5vlYrttpv/JSZgXiCrvBCY+LWdI5a /RRA== 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 t70si5998215pgd.13.2018.01.18.05.17.38; Thu, 18 Jan 2018 05:17:52 -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 S1756161AbeARNQW (ORCPT + 99 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(-) 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 -- 2.9.0