From patchwork Mon May 28 15:48:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10433503 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5A3E9602CB for ; Mon, 28 May 2018 15:49:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4C4C728AE1 for ; Mon, 28 May 2018 15:49:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4088628AF1; Mon, 28 May 2018 15:49:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C94CE28AE1 for ; Mon, 28 May 2018 15:49:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1034936AbeE1PtT (ORCPT ); Mon, 28 May 2018 11:49:19 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:36335 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1034934AbeE1PtP (ORCPT ); Mon, 28 May 2018 11:49:15 -0400 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue002 [212.227.15.129]) with ESMTPA (Nemesis) id 0Ljz90-1fv1W21VXO-00c9Xb; Mon, 28 May 2018 17:48:52 +0200 From: Arnd Bergmann To: Rob Herring , Lorenzo Pieralisi , Bjorn Helgaas Cc: Arnd Bergmann , Jan Kiszka , Jingoo Han , Vladimir Zapolskiy , linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] PCI: versatile: include pci.h Date: Mon, 28 May 2018 17:48:39 +0200 Message-Id: <20180528154850.2647019-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K1:2NFFx52rilNFoShuK3Xv7WX/vDmXoLi0tmd3BsUAQ9IfL8opXIo 87hlYGNCSQ8Mi/UyR7bIadfeInokg9p2YvWDcb1GpKQHsVApiq1kj6R/UJHNppckS7Jctqd a0Ae1f3aDQNTFTQeUdilxQbI9t/zZN/Y+tmx3KeOdL21Dj7Mh1vhs7LgIoZTcOrNoAJzIs7 AnobjB9ncCx4rySPor5uw== X-UI-Out-Filterresults: notjunk:1; V01:K0:ASY1+DLFZeY=:6vCDnhnHtKlqsiiHDwzcK8 3UUt341VUTnYi7z73x50JczsIdIE51lNxMkIVtWrGV9Ocd5uHlMPKlwtTcwaOpq1ShXyrdkgb mv14/wKANFOeBtULLYqg8l9LqsqM5Hs7UVKp8Ac4lHC5thlpPhXM3KX5DvS6icQctC1VRu7Yr gTFGju0BNLerLlwsZRCAipfZz8c/qXM6gw6/ErtVQdYWH6+D3aNzn9eGl/DhauHWrHX+9yehm +8uEnIfDRiEG9CA6KGNRczXDvhwY6kJMP1YbhjiwDru7IGLFlwvakKhi5HWfcqHLeGclO3n5a z+mMIXkFMR4EPPmvn7oE+ildgOu7ZYFU43GnpydQVxHKOKgFVGO4OKmE1LT9FrxJPN7sVCOF0 SbiXKxIr4VtDAdo0R7MnuqoP6Qb7dXGSJIEO/lCHKDEzt7iAqAE+tMfDaJ99z96tBSKRMNvqo ZRuhPL+w4KJN2sAkkFPVfKxc9aVW3UC0UGRGY96T4hY0D7ahLyTV7AwexI1CYRpy9ZAq8KH1c tuDVvSDZL0Ifkeujvew8AhZ9vJ+d9AZiSf5Ej++1d0Kr184+37Z1Ogp4o3T+nssvMAVpdZByN oXpd5ydqzacJf1hYPZbZ71uAk1lAMNbx20OOk8/niJztwgwlv1NilmdOUpkgwhresr4vVURYh iIUXFo3is31hM+z5RiAGxfSobOx62QA6PugXGqXLVkEa0fiN0XtqLJRY+gUhM/T3omL0= 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 Two patches for PCI host drivers clashed recently, leading to a broken build for versatile-pci: drivers/pci/host/pci-versatile.c: In function 'versatile_pci_parse_request_of_pci_ranges': drivers/pci/host/pci-versatile.c:70:8: error: implicit declaration of function 'devm_of_pci_get_host_bridge_resources'; did you mean 'pci_get_host_bridge_device'? [-Werror=implicit-function-declaration] This adds the missing header inclusion that became necessary now. Fixes: 9e2aee80c78d ("PCI: Move private DT related functions into private header") Fixes: 64720fd1f630 ("PCI: Rework of_pci_get_host_bridge_resources() to devm_of_pci_get_host_bridge_resources()") Signed-off-by: Arnd Bergmann --- drivers/pci/host/pci-versatile.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/pci/host/pci-versatile.c b/drivers/pci/host/pci-versatile.c index ff2cd12b3978..994f32061b32 100644 --- a/drivers/pci/host/pci-versatile.c +++ b/drivers/pci/host/pci-versatile.c @@ -15,6 +15,8 @@ #include #include +#include "../pci.h" + static void __iomem *versatile_pci_base; static void __iomem *versatile_cfg_base[2];