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: 137095 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp2984388lji; Mon, 28 May 2018 08:49:22 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo32qmQ4/YSR9Z+mUoEkISVJr6SklZ0IK7CPEDE+VEKXGYPQMCqZXwIU9LZxZArnwwafVIu X-Received: by 2002:a65:5042:: with SMTP id k2-v6mr10862890pgo.122.1527522562462; Mon, 28 May 2018 08:49:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527522562; cv=none; d=google.com; s=arc-20160816; b=omMDPq0DzYl+SWhkUXtYtQCoUnHdvvY73M0ucc/4wXSaNc0d/1PUI81B2ibD1gtgS3 DfCK6tKcnpdo+QEnrg+1jGK7sTn8KHHBeP0OWv4DyfDBO4U07ycTLrwVFemYU6OY0bIo ckWiozVavAd5KNb021OOLtwYcq4+36PWiny5We9MNFBD+cOicIdEyf0bdZYNphEn2IB6 v/iqmQMugfyZFPBPfD5MG82ddrgQxvWW+XDpfpbDHY59vIl2Dnl2e3EnRmr2i1XmuXsW ZCSCJQtKx4ci1zVIQIjwDCsJT9LDlrBM+7uiAZJ3HUMmdBIbaYMhIFdSkZGCjzjEvy2w yuxA== 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=NPAy719nM6iui+rx1bmXwTDYJ5ZqKwSGNH4KvO3p5qk=; b=kXGW3s8QMiSOs7Ouw4D12irsF9q5MRlNwC4tTHPRBcRNSG//nwjWhg/HLzClfdOukm bORJEeryVeMWuugePDFeAAJj0CuTQpJhBKdcbxNKKeBukMeUH/cXVimB3fk1A1H7BvmS N7QIcgp3c9s4jilGIB288wYctWVWSOSRn98nlrtiAKnhkLe2ggG2l1tZ2AVN+iMxZuvv 1kyooQhrzjfh7HtSdH6OlOX/Q29pq4YlScEmlrtGrc3L25qkIE0mmVIQABEW2DuJ3ZZ3 8aaj7FfYFapbTemLSPBQVYe8lTu/V3tZI/zC5b8dKF7eJxvIeuico++HOPXpX6Hvq7XS ximA== 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 x2-v6si24125587pgc.495.2018.05.28.08.49.22; Mon, 28 May 2018 08:49:22 -0700 (PDT) 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 S1034948AbeE1PtU (ORCPT + 30 others); Mon, 28 May 2018 11:49:20 -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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.9.0 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];