Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp28884904rwd; Wed, 5 Jul 2023 04:18:57 -0700 (PDT) X-Google-Smtp-Source: APBJJlFVLuSlEo++8oqNSrvaMcify+Jw9mwSvmw1LOmvVNoTH8n7vSHoihOBIH3h5MSQUGlf1Dqm X-Received: by 2002:a92:ce0f:0:b0:342:89b4:b8bb with SMTP id b15-20020a92ce0f000000b0034289b4b8bbmr15472256ilo.30.1688555937753; Wed, 05 Jul 2023 04:18:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688555937; cv=none; d=google.com; s=arc-20160816; b=PUNKSC7EUpO91AmWQefzew/D341eK4NLa1+zKLHemaa+FY0xaJ/fMMShBfDL1F+7/G O3Mvp0BHmRw0u0u+8vNIBIU8+qaY10t9q5y3tjvXB2s2q6iyyWPVfGskXxdE+G7/6QrU LL1GVeP5CblAidz4OmrmwcRPrfnQSTMaN+5Rn53Nb9GafgkyGWM/nRY3C+e84/y45l9B FbyIFRDZXfv/6zIZeV3prfn1tYSPGxxd6iC9CfNyIcQgM5JSmvhkCGu822mmALhpBjqP Bb48HWUi4T1YArkG26Q7Tcd7ldemqGa82/3RUuumflN0Gog1Dbipg4C+BJF+tOKKXCGP xC2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:feedback-id:dkim-signature :dkim-signature; bh=bm1rZDhTtyYs6D2nwqafptF7MtTTmEoZYqei0YwqitQ=; fh=+o9PpJprrSk37r1VIMFVHhOJy8HuKU7rjcgSl7i8KwU=; b=yX5A7VFyEzX1PVnk00yHvkHCohaLH6TWHW0MFmuZzaeeb/u53hFsVJ/Ibo94wlG/gh cWkNBF7i0hFurHnWSqwxGa20m6/ou5YNerKThkd8YfLeUk3TC5+KX/QLaOxb+N8XEtUX 2mGnYbLciAe7ni/WopLMLUdJVENH+UEJHUoZklEgOe7py3MRd4rvVXbra+5Blm5YiKoH W87DlM3JALgTzlBHxCCYOps19zF6rrAUtieRiSNzQV3MZ+lDtRVSvatQ/xykPSgPqRV0 tHtiO/gLyfXCCMeDDLoWtIOjtt9C6msVKMJ0PYLnosHm5uBkyr8klzmMlH38mfQUteen keoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alistair23.me header.s=fm2 header.b=ciOCYmh1; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=XmEqP7yO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j19-20020a63cf13000000b005533980c059si22846797pgg.494.2023.07.05.04.18.41; Wed, 05 Jul 2023 04:18:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@alistair23.me header.s=fm2 header.b=ciOCYmh1; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=XmEqP7yO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232233AbjGEKs6 (ORCPT + 99 others); Wed, 5 Jul 2023 06:48:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232212AbjGEKsz (ORCPT ); Wed, 5 Jul 2023 06:48:55 -0400 Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3AF46171A; Wed, 5 Jul 2023 03:48:53 -0700 (PDT) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id A7D215C02B0; Wed, 5 Jul 2023 06:48:52 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 05 Jul 2023 06:48:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alistair23.me; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:message-id:mime-version:reply-to:sender :subject:subject:to:to; s=fm2; t=1688554132; x=1688640532; bh=bm 1rZDhTtyYs6D2nwqafptF7MtTTmEoZYqei0YwqitQ=; b=ciOCYmh1a7/03nnbDK XYTb4WI+eqF88UGTIfzfrP1O3/bT+y4I4MlW5bbu9X7m4BA0kUyYWvgpr7rs7PpJ sghd6RF+Zq0EG7m00DOtd9KwTtjdTA3hei4Srw5R32CFWC5jJvQz/oMVxQ728IId 7ow56qohaSAkVzue05PLENxQvRuIygwDWSmlEnUAw46R4OZHJTuWNno6wyrPf8bP cTGJPKzBnhHK3BGa1OZNVhNFHvdpYjnf0zc0SiAQpbUBOXNKtzwk+dihnHf96n03 ggPdLDFZ4cSbZWzE3h3974jvMhu7nOzBLIAn2nQN6bORdicQN5pWK3hU2XD1F4yc wAEA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1688554132; x=1688640532; bh=bm1rZDhTtyYs6 D2nwqafptF7MtTTmEoZYqei0YwqitQ=; b=XmEqP7yOa1x166q6mPPd1phvptpD2 NOs3Psw4ipDLyNMydkAHtNABMU/WMABF9QTe0Plkl+7mCA2j/wtBssjPlZMkdPxN DiGwZVNk414ykSDQ9VDiNrg7Zab96tq96ZGCSqTnEwmidTCez4bqmrunfpnTVLcl sGIdjTBMxihr4FrJINv1wd9X3W0UNsSZkEQ8ypn5KWJMaqP+uRlVOLAEYLyr+8BU DWKE4Q1Sp9sTXnC+ELOAG7LWBhzFQkWpXGzruhkViFJBEEYR7fgY9mACzgMffdmj wbYaG0GNsDihZ7yw8FJNBW0lCB04H1EmmOeMBsoNXRoXvYUr2pvUGzFxw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudeigdefvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvvefufffkofgggfestdekredtre dttdenucfhrhhomheptehlihhsthgrihhrucfhrhgrnhgtihhsuceorghlihhsthgrihhr segrlhhishhtrghirhdvfedrmhgvqeenucggtffrrghtthgvrhhnpeegheejueehgeekje ffjeehhfejieelfeduudfhgeetieegueehvdeftefhgffhtdenucevlhhushhtvghrufhi iigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhishhtrghirhesrghlihhsth grihhrvdefrdhmvg X-ME-Proxy: Feedback-ID: ifd214418:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 5 Jul 2023 06:48:45 -0400 (EDT) From: Alistair Francis To: marek.vasut+renesas@gmail.com, yoshihiro.shimoda.uh@renesas.com, linux-pci@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: lpieralisi@kernel.org, kw@linux.com, robh@kernel.org, bhelgaas@google.com, alistair23@gmail.com, dlemoal@kernel.org, Alistair Francis Subject: [PATCH] PCI: rcar-ep: Include linux/pci-epf.h instead of linux/pci-epc.h Date: Wed, 5 Jul 2023 20:48:24 +1000 Message-ID: <20230705104824.174396-1-alistair@alistair23.me> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org pci-epc.h doesn't define the members of the pci_epf_header struct, so trying to access them results in errors like this: error: invalid use of undefined type 'struct pci_epf_header' 167 | val = hdr->vendorid; Instead let's include pci-epf.h which not only defines the pci_epf_header but also includes pci-epc.h. Signed-off-by: Alistair Francis --- drivers/pci/controller/pcie-rcar-ep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/controller/pcie-rcar-ep.c b/drivers/pci/controller/pcie-rcar-ep.c index f9682df1da61..5afc91d11eef 100644 --- a/drivers/pci/controller/pcie-rcar-ep.c +++ b/drivers/pci/controller/pcie-rcar-ep.c @@ -10,7 +10,7 @@ #include #include #include -#include +#include #include #include -- 2.40.1