From patchwork Wed Jun 21 21:53:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9803039 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 4DB4C600C5 for ; Wed, 21 Jun 2017 21:54:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 41138274D1 for ; Wed, 21 Jun 2017 21:54:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 35C9D2845D; Wed, 21 Jun 2017 21:54:57 +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=-6.9 required=2.0 tests=BAYES_00,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 D7F00274D1 for ; Wed, 21 Jun 2017 21:54:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752384AbdFUVyr (ORCPT ); Wed, 21 Jun 2017 17:54:47 -0400 Received: from mout.kundenserver.de ([217.72.192.73]:56647 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751789AbdFUVyX (ORCPT ); Wed, 21 Jun 2017 17:54:23 -0400 Received: from wuerfel.lan ([5.56.224.194]) by mrelayeu.kundenserver.de (mreue102 [212.227.15.145]) with ESMTPA (Nemesis) id 0MJCME-1dL2QG3hpS-002q5Z; Wed, 21 Jun 2017 23:54:15 +0200 From: Arnd Bergmann To: Lorenzo Pieralisi , Bjorn Helgaas Cc: linux-pci@vger.kernel.org, Arnd Bergmann , Rob Herring , Brian Norris , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/4] PCI: versatile: fix another typo Date: Wed, 21 Jun 2017 23:53:02 +0200 Message-Id: <20170621215323.3921382-4-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20170621215323.3921382-1-arnd@arndb.de> References: <20170621215323.3921382-1-arnd@arndb.de> X-Provags-ID: V03:K0:jtlFrLzsGKQSMnu2IJHHZzQOuTT1P/KiQB3dUvPErCmwf0/day+ +4gjus+S8V5mQpE7h5jpplqeADstTXNIvq2Nm3Olagwig0u0VA/IiWecKyfHcMECzJpLxsa 6VYe4U4LEi7KvEm5r/glP7dKzJsVhFikoSDnzrzvOyyWtbMD0l5flseSnkuqIQ2qsAUeeiy NIiEgyS2fCKA6/VhTypfg== X-UI-Out-Filterresults: notjunk:1; V01:K0:iVsiQIcfMLs=:ntUHwZ12m210PjgXoRa5An vN/Ql/SzrWuWryOLggjbPTUOzawK5I4cxsRyJgTMtA9hO9e3l5i0oXGVpqxig0kj5MEz+UlRt 6hFJulq9bRzC4I6IoLBHdfVX+5HNJ7r+/FKjFEypUpMu+qnWn1mordex54xb7e9eBJ2KbUY/e k8nidA9Gj4qsQ/neh/C6EPOUqKZCVtXTYOndzzNnR97OKbVFz5yX3ip9H509G/9nCjfQ0usy2 LrUIoPUd680lAgwCR3M9Fu0gBZYyLGq2NufWPIqgmiLGraL9IYqVVVQRJeIszMw5S2tIWK3XV fyz4YTm1mmEo0ImUJ4sdIhClh+FYa1Z0yMMeUAv9aYm/+ADBrVLiBokxa3NfWZnYtkbRcCb5z oRG+YA08VcRmDIea0Tu6Ak/rr0cCDM6ANzRv84ejGLEplfGg8YOlVegG+rF0kaDKnt375dK/G lWCRiRRGA/0+r8FoOYACjP6vs2TbKfYmoQ6D46IsCZYnC72k8iBg+JmxZrK3mpCXw8ZhCDri3 Tiuox9YiBxgJ/XI90NE2AegCLar6OSz6ysys0n49Qvs8CU7IAX8y171qhNQI68VW2m/vLvcOl VnN7l7kGKrgi3fh8mN+0g0f91iZ8HscJ4Lb18jL2YdN/LyCFvM4LLugr8CJ/Az1IsGGKJgqgl 8tyssLITGrk6fIybMYICMzGBOO3nw3zaZ8Z4A2tPHoVDzzitzl1m+JxFEFJOcADaZvkY= 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 struct members were added to the wrong variable: drivers/pci/host/pci-versatile.c: In function 'versatile_pci_probe': drivers/pci/host/pci-versatile.c:212:2: error: 'host' undeclared (first use in this function) Fixes: 997995e1722a ("PCI: versatile: Drop pci_fixup_irqs()") Signed-off-by: Arnd Bergmann --- drivers/pci/host/pci-versatile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pci/host/pci-versatile.c b/drivers/pci/host/pci-versatile.c index f572c921cdd4..f6fcec6b5578 100644 --- a/drivers/pci/host/pci-versatile.c +++ b/drivers/pci/host/pci-versatile.c @@ -209,8 +209,8 @@ static int versatile_pci_probe(struct platform_device *pdev) bridge->sysdata = NULL; bridge->busnr = 0; bridge->ops = &pci_versatile_ops; - host->map_irq = of_irq_parse_and_map_pci; - host->swizzle_irq = pci_common_swizzle; + bridge->map_irq = of_irq_parse_and_map_pci; + bridge->swizzle_irq = pci_common_swizzle; ret = pci_scan_root_bus_bridge(bridge); if (ret < 0)