Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp7587262rwp; Tue, 18 Jul 2023 18:45:47 -0700 (PDT) X-Google-Smtp-Source: APBJJlE0Ci5uBkK9u2OsYCNH8uIBo8GQtGjA8e8WRDOv0BdobjZTiJ9ggy5lvSeAk2NiFzpnhXXI X-Received: by 2002:a17:906:2112:b0:992:b020:ce4 with SMTP id 18-20020a170906211200b00992b0200ce4mr1024765ejt.51.1689731146786; Tue, 18 Jul 2023 18:45:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689731146; cv=none; d=google.com; s=arc-20160816; b=wEgfVUST6Gl5BG++de1wQgToh8xUNdiI7tEfX4VbeIGU3GkuxT5UkrT04ncj0YwtSe /pF2h81aoLC/yj8QMneE0Fl80laf+H1sIXG2q8Pq4kWfxLx+Twt3ew99qTNCnW9TIBKB jZyLR0QVpjd2GKBcnuXsLm40CQeOlkfBF1KCQnO6oNWaJ3Q1p0Wm8gxgje6PTO8NnICM lkIBMiOPSyOadYWogimYwWDv1zOXZxTKL6g9Rf/XtUraO4YE8x9tUrb8rDUag6NCFOv9 D/+9L4fBvkQS258MJuIfQUaj3qq1Dux0MDVd7vSKUaqzoujWm+ujKY29IQPyubbRu4D/ sURg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=8xk4472MbQ0aONiK6ZtIfH665Wri1/wSc0QB/UZUqhk=; fh=3fciWxKi1t7oj4nm1k5H/q7pMZn8nsdHa+MLnkMuPY4=; b=d0q8DT9rsqnXZvZWPPfIEeNJ8I7Cj8lA0ge2Ujus7CRg84UHK7gzBZjuvT0/WG2Cn8 E4vm4JNQZsOIoVLdJff32pHnMZiBXKirFk+1zW575yumBYf35CxgVHuvM7AOt8lP26rF YXM/eVmOlgswH40jnJqz/zVlgrVuqschWng/Tjn8+pe7HoTKsx7tV0yFNP40pEv/cPoE NRNyph2ly7P6C1HXySjugeaMoRvUqIHh2yvqskfAFrCD0FmerN7RWF9sTMzJlfzF7Ecn pL0x1V/5Cj8RDZ+3Z4Q2hiDsBU7wFhvF9NvablRp781qgq0DgTT7FI+CWAr0izxmGXMN U7eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=EHQ8krW3; 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=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n10-20020a170906840a00b00997b9cfd26esi2009593ejx.780.2023.07.18.18.45.22; Tue, 18 Jul 2023 18:45:46 -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=@chromium.org header.s=google header.b=EHQ8krW3; 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=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229838AbjGSBLf (ORCPT + 99 others); Tue, 18 Jul 2023 21:11:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229715AbjGSBLe (ORCPT ); Tue, 18 Jul 2023 21:11:34 -0400 Received: from mail-yw1-x1129.google.com (mail-yw1-x1129.google.com [IPv6:2607:f8b0:4864:20::1129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7EE891BC9 for ; Tue, 18 Jul 2023 18:11:32 -0700 (PDT) Received: by mail-yw1-x1129.google.com with SMTP id 00721157ae682-577497ec6c6so62187557b3.2 for ; Tue, 18 Jul 2023 18:11:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1689729091; x=1692321091; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=8xk4472MbQ0aONiK6ZtIfH665Wri1/wSc0QB/UZUqhk=; b=EHQ8krW39V/sbOi+DKhI1PMxM/sjS73lureK8IoE+d91eZY3vwuWy95pieu4fPe2Gs qgDS6zMd/e10X/+m9kpWSFFdZucDScjJ0xNbnzd1HdU52AJMAlh/KjTM2zHE7mK/JCg/ uikl2pkgUY6wIKiHWr30hoqYwThHW9LJ4nT1I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689729091; x=1692321091; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8xk4472MbQ0aONiK6ZtIfH665Wri1/wSc0QB/UZUqhk=; b=ZIMa7JV688bjArul7NSxCPib0kLLgjTMAbybRpBKYTrVgoOz6gHA78H8CCTrei8B4x wMWppkd+YE9phCTGKnXk1e3s8dX2+NEz6PRPWGlpWeeaaxF1xy7QB6bMEK3pSIDzqNI5 5Xgu1+DJ6qOblX3Bp+FOqTG3d/I28x4ZnmwbwfyXOwR4/TecBb/HyznrFXZuGaCqS5RU +m8qDF0aBmjNn1xSUfXFQrGCgq4/dWHuGowzyBTwPc6ip1C5c2MjI7Jto/SXcOuXvaTK p27Y/KTCKAPqGnYR5oucjZ4NdWEMHWTSV1bvHwQzsla8NloxchgF4WtJLTnjVTDHoG1f COUA== X-Gm-Message-State: ABy/qLZKT+AJEt9qGefrnLeFqurvQyG5+pVB0ihshtqahLGXch2DznVd a9ph/z6uCwUIG6BuLeo5mGHG7Rj/UQjfaIH/DrGe0w== X-Received: by 2002:a25:9f0f:0:b0:bfe:e383:6297 with SMTP id n15-20020a259f0f000000b00bfee3836297mr1279983ybq.19.1689729091455; Tue, 18 Jul 2023 18:11:31 -0700 (PDT) MIME-Version: 1.0 References: <20230718143045.1065100-1-robh@kernel.org> In-Reply-To: <20230718143045.1065100-1-robh@kernel.org> From: Simon Glass Date: Tue, 18 Jul 2023 19:08:01 -0600 Message-ID: Subject: Re: [PATCH v2] power: Explicitly include correct DT includes To: Rob Herring Cc: Sebastian Reichel , 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 Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-9.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED,USER_IN_DEF_SPF_WL autolearn=no 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 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(-) Reviewed-by: Simon Glass