Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1791726rdb; Thu, 7 Dec 2023 08:53:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IHgF0kHtmC8RLU0Jwe0+ktYqk+LHeIY1arnC+94CgTcqL60sWx3LPVYFJUjmEBz99Hsp9aY X-Received: by 2002:a17:902:7c8c:b0:1d0:71cd:11d2 with SMTP id y12-20020a1709027c8c00b001d071cd11d2mr2181951pll.86.1701967989723; Thu, 07 Dec 2023 08:53:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701967989; cv=none; d=google.com; s=arc-20160816; b=TWfxpskw4W4at+Q/cb7l2GkhtJe+mxe6Iupo2ZxiO7aDUgu0i5QBdtZvRMmcnOuhZQ 0AXYFZBnlIBJ9EVOeDnN5Tu15AugCDQffvpD+7M6g2xzg2qOwdh+jwv8XyqFgPka5lWe +EMJSDLUGQUhizQpP/UePVWGgACaoOKs764WYRmEWU/sIuhCnIXAV9xyYzQvhAoZgJ/k ssnJf8f7hdmJOF9Wl0TCE/NW/yPb/6V/RuQ2sdUZrlgHoMgx4Qczgo+C3hHGl0Q3AT1V WRnc4d9OmnHPei7DfImVTlCXhhXNKDLcGdpW3g1wH2fZaPYD5R0Pb7O0clWXiBkC228K qLhw== 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; bh=jBWpeuUGETy3rsau1CIanjaFB3XHnIk3Ug7FoMVzpS8=; fh=oOOYoe7K5Ks0xN8pmr+WHphqElSIPtagQpxRcZs3xV8=; b=FZLY/6tVUbFBp1ESMdSihmGunhRVQj1QJS3vni9LsL4BMIaI6OmjbJZ6u7XvYC52Ws DmXOMRG25sq0Fh1Hdh+NEToTRA/bnGxaWE7wKV2pzONRXme6vAybMNa9Fp3U7MPaQ5Ff b9msYZ9Fstcawip9g7Zm90E3MQqHcOC8sJ1/uI3fTPZF4s3I3e10fwwkHVkBV1W/rVqf 8z5EuyV6C+fjBk8lbdSYMfxV4Hv2zcHVtOpuTC3GNKPBgCPbUdHRZbIrV8NL82IX6+HX xKohwQsWuZ5ph8frHXTMo6F8/k3SvnEaiaCT4P2CQrroCf60NgmwiHPXr1XgkvGnr5md Vc6Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id l16-20020a170902f69000b001d05c0c17fbsi27261plg.200.2023.12.07.08.53.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 08:53:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 03FDF8044338; Thu, 7 Dec 2023 08:53:07 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1441933AbjLGQwx (ORCPT + 99 others); Thu, 7 Dec 2023 11:52:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232813AbjLGQww (ORCPT ); Thu, 7 Dec 2023 11:52:52 -0500 Received: from mail-oi1-f173.google.com (mail-oi1-f173.google.com [209.85.167.173]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 659DA10F3; Thu, 7 Dec 2023 08:52:59 -0800 (PST) Received: by mail-oi1-f173.google.com with SMTP id 5614622812f47-3b9e07690ccso427073b6e.3; Thu, 07 Dec 2023 08:52:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701967978; x=1702572778; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=jBWpeuUGETy3rsau1CIanjaFB3XHnIk3Ug7FoMVzpS8=; b=DroBu+9/y90GBDbk0rBjvxvi8/2ymAU6h2NIyk0nagPhEtVKUBO1z+w6p2NTRm2UIR 3AxvIhWb2sKYMR+iMOWSYqvYDPFAgeDhL0XlWJN0BvlResQY/gDGVey6mqJR3JjK/AKr tm2Ml9C+gRJ1YFwg4ut4lBgUTf0GzAuL102wDOySF8iVrLivgAQwHt8+ugYg3waG5MfS wbmONqWQv/Ue2pwt8pt5Nnqa6fDtcgVZ0EycYSI5ljFy0ALif5LtFV1OSVz7rC9aqR2o 6DC9fdDMMstgW+AgbS1R/TnQWNMIOz9wJSkrJbrE9mI6/8EQqsQKf/GC8s20b9o/fxZK bxFw== X-Gm-Message-State: AOJu0YzNnpOKAStU47lksKKbV/iIgJQZ32+ne3nmcfXK/OEi4chX5ZvZ KAewGxa/I8H/iMvcE44Itw== X-Received: by 2002:a05:6808:191b:b0:3b8:b063:5d6d with SMTP id bf27-20020a056808191b00b003b8b0635d6dmr3494663oib.84.1701967978577; Thu, 07 Dec 2023 08:52:58 -0800 (PST) Received: from herring.priv (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id e4-20020a056808148400b003b2daf09267sm14906oiw.48.2023.12.07.08.52.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 08:52:58 -0800 (PST) Received: (nullmailer pid 2855942 invoked by uid 1000); Thu, 07 Dec 2023 16:52:57 -0000 From: Rob Herring To: Marek Vasut , Yoshihiro Shimoda , Lorenzo Pieralisi , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Bjorn Helgaas Cc: linux-pci@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] pci: rcar-gen4: Replace of_device.h with explicit of.h include Date: Thu, 7 Dec 2023 10:52:50 -0600 Message-ID: <20231207165251.2855783-1-robh@kernel.org> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 07 Dec 2023 08:53:07 -0800 (PST) The DT of_device.h and of_platform.h date back to the separate of_platform_bus_type before it was merged into the regular platform bus. As part of that merge prepping Arm DT support 13 years ago, they "temporarily" include each other. They also include platform_device.h and of.h. As a result, there's a pretty much random mix of those include files used throughout the tree. In order to detangle these headers and replace the implicit includes with struct declarations, users need to explicitly include the correct includes. Signed-off-by: Rob Herring --- drivers/pci/controller/dwc/pcie-rcar-gen4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/controller/dwc/pcie-rcar-gen4.c b/drivers/pci/controller/dwc/pcie-rcar-gen4.c index 3bc45e513b3d..2ca5b7983d62 100644 --- a/drivers/pci/controller/dwc/pcie-rcar-gen4.c +++ b/drivers/pci/controller/dwc/pcie-rcar-gen4.c @@ -8,7 +8,7 @@ #include #include #include -#include +#include #include #include #include -- 2.42.0