Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp8740236rwp; Wed, 19 Jul 2023 14:46:09 -0700 (PDT) X-Google-Smtp-Source: APBJJlHJCe5TOHPT7y3S1vvcmIbOaMJNgvWSyHt63VE9d5QBDhSh3469k12FkVbFfCGbJbTa3Woo X-Received: by 2002:a17:90a:d791:b0:267:7021:4e3c with SMTP id z17-20020a17090ad79100b0026770214e3cmr3308253pju.8.1689803169417; Wed, 19 Jul 2023 14:46:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689803169; cv=none; d=google.com; s=arc-20160816; b=nFEYUzR2HsIM+3LJ/+012l+TRs347hH3ttaLVme+ZLK/IJlnV6YbmUrMfPPGsJ1Jh7 iSSDRKGxUCsXZnk7fLUTroQuo8+pyNFaZJn0kW6ZSjeHr7SKVzwxSuYj1jbQvjPhS/CZ LMQLr90SH596vohPwS8G7H9U4XwY9UfAzgH6stvlrqunlAOLO+h+CfX9pfUw4f5KvAts b90D1oEDnJCBLEX7KTc0fuvl7lbiQHoD1izAUV52ZyvlJ/gH581/YGL0CwHdOicmKG8K s9VaOh+MsqZdqMCTTj9FpId+QjZlfmzuSbBdsArfjDua/3dvIeLEswAK5G3JhV1ykwhs vD2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=0OqlUvAINu6V5HUpMLXo/XJ/ELuUyCawYa+mrT4Bh+Q=; fh=TSrbeodQFEPHVR0VXknF1GYVc5M0+ZkPY1hCoZ/+R9s=; b=mGcxLMGjF/CqnxgRP33/lkS15ruI5A1AdT4ST84pAwVuu4T6ImtXxiqnFGEWHOnjaA D2GpMazLiMSoZKTROCUCw1LqFCGUuS5YGGRzALWnLxaIMf54QzhZzoE7ipjexTEdZEXJ tgE/VtLQKa1jSc1DPAx/ZaZuXjS+g0zAf0c5N147hl1nuYaiCy3JJupJQOyBeIf48p3t D5SSarAVPJS7eok9u1gVzMeLGJOPjtoICzVWarzALUUQHpQZ9pYYcgfz+JIzguN1Lf3u pU9YwAv3ufeWjtUPpW5XjeEEBOReOC+1v0QJRrERkMhvErUK/q8PA9Jn2T8m+PZJwOIv 5XuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=NHxWKfjT; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u61-20020a17090a51c300b002532c9b252asi2075009pjh.73.2023.07.19.14.45.56; Wed, 19 Jul 2023 14:46:09 -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=@collabora.com header.s=mail header.b=NHxWKfjT; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229542AbjGSUvk (ORCPT + 99 others); Wed, 19 Jul 2023 16:51:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230239AbjGSUvi (ORCPT ); Wed, 19 Jul 2023 16:51:38 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3A971FE2; Wed, 19 Jul 2023 13:51:35 -0700 (PDT) Received: from mercury (unknown [185.254.75.45]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id E2E156607078; Wed, 19 Jul 2023 21:51:33 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1689799894; bh=c3uH/gG1XWxCmsfa/PtfUqtSiWqoIU9tT6WvHwLXMgM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NHxWKfjTdramqP30Ar8ukCkAzRt5qmjDXa/OA6fMDnoIAfYN+sRNUe7t2CTXt5CVp xDIJfwcPhY7p2FuTzRLQv6qKHoheJtYTX8nMFwmxHBN0TWPZiuXnESnkEu5uAgXcyq FNEWy89JfqlQ0bFQn8jwnGjgZ0NeIdz+7OH1YhucUn5Ke9r8f7b+z209X/uGDCc0Nd K9qqMu/PDT92oYjRnmNX1Ijj76unq76IckCkJCftmPoMFNmqEksETXwB9V3DrdF/D4 GKWcLVDDYZYcbuXPFJwFbC9ouH4DkxPwEy9C8M0owQa80PnadMWr6duuVuxq5PpUML I0konnbQTjCQg== Received: by mercury (Postfix, from userid 1000) id 2A3571061387; Wed, 19 Jul 2023 22:51:31 +0200 (CEST) Date: Wed, 19 Jul 2023 22:51:31 +0200 From: Sebastian Reichel To: Simon Glass Cc: Rob Herring , Florian Fainelli , Ray Jui , Scott Branden , Broadcom internal kernel review list , Santosh Shilimkar , Neil Armstrong , Chen-Yu Tsai , Support Opensource , David Lechner , Iskren Chernev , Krzysztof Kozlowski , Marek Szyprowski , Matheus Castello , devicetree@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-oxnas@groups.io Subject: Re: [PATCH v2] power: Explicitly include correct DT includes Message-ID: <20230719205131.xmfyggy7y2dusjrx@mercury.elektranox.org> References: <20230718143045.1065100-1-robh@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="o4yglry5cm6klniy" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,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 --o4yglry5cm6klniy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Tue, Jul 18, 2023 at 07:08:01PM -0600, Simon Glass wrote: > On Tue, 18 Jul 2023 at 08:31, Rob Herring wrote: > > The DT of_device.h and of_platform.h date back to the separate > > of_platform_bus_type before it as 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. > > > > Acked-by: David Lechner > > Signed-off-by: Rob Herring > > --- > > v2: > > - Fix double include of of.h > > --- > > drivers/power/reset/as3722-poweroff.c | 1 - > > drivers/power/reset/brcm-kona-reset.c | 4 ++-- > > drivers/power/reset/gpio-poweroff.c | 3 ++- > > drivers/power/reset/gpio-restart.c | 2 +- > > drivers/power/reset/keystone-reset.c | 3 ++- > > drivers/power/reset/ocelot-reset.c | 4 ++-- > > drivers/power/reset/odroid-go-ultra-poweroff.c | 3 ++- > > drivers/power/reset/oxnas-restart.c | 2 -- > > drivers/power/reset/st-poweroff.c | 2 +- > > drivers/power/reset/syscon-poweroff.c | 3 +-- > > drivers/power/reset/syscon-reboot.c | 3 +-- > > drivers/power/reset/xgene-reboot.c | 2 +- > > drivers/power/supply/axp20x_ac_power.c | 1 - > > drivers/power/supply/axp20x_battery.c | 1 - > > drivers/power/supply/axp20x_usb_power.c | 1 - > > drivers/power/supply/cpcap-battery.c | 2 +- > > drivers/power/supply/da9150-charger.c | 2 -- > > drivers/power/supply/da9150-fg.c | 1 - > > drivers/power/supply/lego_ev3_battery.c | 2 +- > > drivers/power/supply/ltc2941-battery-gauge.c | 2 +- > > drivers/power/supply/ltc4162-l-charger.c | 2 +- > > drivers/power/supply/max14656_charger_detector.c | 2 +- > > drivers/power/supply/max17040_battery.c | 2 +- > > drivers/power/supply/max8903_charger.c | 1 - > > drivers/power/supply/rn5t618_power.c | 1 - > > drivers/power/supply/rt5033_charger.c | 2 +- > > drivers/power/supply/rt9455_charger.c | 3 +-- > > drivers/power/supply/sbs-battery.c | 2 +- > > drivers/power/supply/tps65090-charger.c | 2 +- > > drivers/power/supply/tps65217_charger.c | 1 - > > drivers/power/supply/twl4030_charger.c | 1 + > > 31 files changed, 26 insertions(+), 37 deletions(-) >=20 > Reviewed-by: Simon Glass Thanks, queued. -- Sebastian --o4yglry5cm6klniy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAmS4TMkACgkQ2O7X88g7 +pq7lg//WgZTHis+b/+aR3UeuhJImAXVAknxQX4lPsDZ9Q4pMWR8h1FlZPpwhIol YkNrPwE1yK6Xxe8kUSnFDI/gqFD+vRqeEaMNSxcwjlzNX+XVe5NPA37mdAruHnNI JTH5n1isMVQrT3kulswPgAz+X2/CUI31FJQURqHob1c52cS2edrqv2VwWDVC/ozY NpyhgzJgYwXLODp/SmOW4bo2Lq9Dx8GlqiiNWaPnUu96Z4zW0WEQEYvxRbTWky0Q SHmKXDzaxbbTRYJ5B4Fbygtoy7cmbN5FKN4Reh6GfieDf5+/VTXiEVUsw1Volas7 bEuSqdw9lICEx0YIpf2WCxP7+R7dZ1UHzgs9CoI8dBpZMNAoMNV48VLoLgDgyBYS s7IffoU4bs0jMzdBSkCseeEyOUV0wGqQPUbJAJyH7feCrGjVLUf01ay/gyiFy6eu v64+5g35xbw0Yq6WPG82WsWsZYb7xox3gFFosWLD2O3k6CjIm/AAydx71IIwBiHI 43argw9f+njfusK7PVWwMqQiEkJLcv37M78ZrK/RX3TIy/GdLOpFgPbUovRlF3dk ojIlqOwDFx9qhwij3Gy6cSawaEeK6A2TnUIdxEi0/QN+ukUcGQHAWetG9aCtPyTq +RTMvoOUC1qwZJqsrvihAhnnKu5e6XP3rkTshqIYmQUav3z1OO4= =yzKh -----END PGP SIGNATURE----- --o4yglry5cm6klniy--