Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1678473rwb; Wed, 26 Jul 2023 17:04:21 -0700 (PDT) X-Google-Smtp-Source: APBJJlH08QqZ0eWx2P8527CvcbhAZkKeLktdZj+ETqg6zlTU0klm73oJq8a8aqVXldYdnpapF1ZZ X-Received: by 2002:a17:902:f7d4:b0:1b8:ae12:5610 with SMTP id h20-20020a170902f7d400b001b8ae125610mr3338413plw.7.1690416261330; Wed, 26 Jul 2023 17:04:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690416261; cv=none; d=google.com; s=arc-20160816; b=tX/MR1pss0Wl3x/VNlqCyxZaKcXRfKkEhJVnMADK4Anja/X5W/oknslgjegznls3v7 aT9rAr293j71JBkD8LbQ+OMi6ZdIK4++l05e2/91Hr/HZ4Fu/9nUjMd4EOYk3R64tRBZ lJ1BktXNdT16pCQaWLWb5/JaY32hlGyweMjUPuzDRFUXdM25kULk4mV0+S5lOoZf/WNc jpXReGS9qVVfDpq3h5niVFrJt4nJ+0LnLR57d6Q3zWC5y8xw0Li8YL64//NJIXkIJPAv +lhWu8dUiijuMCrPrYofOKl/vIRyQM1BUH1tgM5/D1mQE6EWJepekQzX6Yj8gViAlq53 mQ7w== 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:dkim-signature; bh=fbJP9dvCCuDaiayTlery7OCgA+h4o5Y9NeC67BaSbyA=; fh=e31RcLC/0Ip7gShpfIJHj2GnU/2fqEeAW5FGjR+eqDg=; b=fRrtoPzgXKcW3jlWv28wcrLHiphDlaXAj+GUhW9xBiYiv/Y6hazvQZuIIQ6a8U3D3J RSyki5vUI+eY/8AL7hjzj94gcYgInyNBz97xRz2KAOmBcFgAcm40KeplEaXFhwiZk3gl vKFeyIt04+0EUhpa6Pk+kqbW52L+lz7HGk8MAlKkTW7HIZsXMLOeK6vDABNo5rh7OJqx cW8JYII2hUffBOCfKhvQ8EAQ4C/vNxVIDpP2f/gCtCs5yPGpxyHBkZOvKc6iHzX9xPip 4pFVp3ZnJkj7naBZZQFUKP0uuI5xGAMl5dCB3Va8WCRe5oG2tBn8cb9abeZrDYF6/f7E l4/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FigZcKcQ; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id le16-20020a170902fb1000b001b80b061e8asi180095plb.341.2023.07.26.17.04.09; Wed, 26 Jul 2023 17:04:21 -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=@kernel.org header.s=k20201202 header.b=FigZcKcQ; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231140AbjGZXbq (ORCPT + 99 others); Wed, 26 Jul 2023 19:31:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229645AbjGZXbp (ORCPT ); Wed, 26 Jul 2023 19:31:45 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EEE12704; Wed, 26 Jul 2023 16:31:44 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 228B561CDB; Wed, 26 Jul 2023 23:31:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DD987C433C7; Wed, 26 Jul 2023 23:31:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690414303; bh=r7QYHW3VKvt2WtGg9gadUOAfwlfHNf+lUew4M0VWzWI=; h=From:To:Cc:Subject:Date:From; b=FigZcKcQPrGdBwQ9/L3i6PvgDhZ3jNe5Mw1YIWYsG0dTKG8E6LYsAy771371B2OfD DdId4YZkV7bvFGCfq0m7+VBBDGditUnRGUnwfe5jBd09q7vb7vpxc8hXP1MBkRl7Ke ta1gWNaSi3dsRutqCYI4bwQZn99HVRXmQUGeuP3oMa+pAtZxHdO4Viobu1cF1Bhvbk ELIRKd9CPw52H7ZNeM4bGi32fpmfe2dj4c5fmRep88RMmAcwSkMv28YPU5/b1JAFWG QLnYnjAXbm5Yz1t2WezhagAogiEJyGYRLUHAuV3hY17Aka1DZ4E0vs6KYRpR9hETET a8Is0LCZwn/9Q== Received: (nullmailer pid 3811250 invoked by uid 1000); Wed, 26 Jul 2023 23:31:41 -0000 From: Rob Herring To: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , Florian Fainelli , Broadcom internal kernel review list Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , linux-pm@vger.kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2] soc: bcm: Explicitly include correct DT includes Date: Wed, 26 Jul 2023 17:31:29 -0600 Message-Id: <20230726233130.3811017-1-robh@kernel.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 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. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Rob Herring --- v2: - Fix typo in commit msg - Add raspberrypi-power.c --- drivers/soc/bcm/bcm63xx/bcm-pmb.c | 1 - drivers/soc/bcm/bcm63xx/bcm63xx-power.c | 1 - drivers/soc/bcm/raspberrypi-power.c | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/soc/bcm/bcm63xx/bcm-pmb.c b/drivers/soc/bcm/bcm63xx/bcm-pmb.c index 9407cac47fdb..a72ba26ecf9d 100644 --- a/drivers/soc/bcm/bcm63xx/bcm-pmb.c +++ b/drivers/soc/bcm/bcm63xx/bcm-pmb.c @@ -8,7 +8,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/soc/bcm/bcm63xx/bcm63xx-power.c b/drivers/soc/bcm/bcm63xx/bcm63xx-power.c index aa72e13d5d0e..98b0c2430dbc 100644 --- a/drivers/soc/bcm/bcm63xx/bcm63xx-power.c +++ b/drivers/soc/bcm/bcm63xx/bcm63xx-power.c @@ -14,7 +14,6 @@ #include #include #include -#include struct bcm63xx_power_dev { struct generic_pm_domain genpd; diff --git a/drivers/soc/bcm/raspberrypi-power.c b/drivers/soc/bcm/raspberrypi-power.c index 58175af982a0..06196ebfe03b 100644 --- a/drivers/soc/bcm/raspberrypi-power.c +++ b/drivers/soc/bcm/raspberrypi-power.c @@ -7,7 +7,7 @@ */ #include -#include +#include #include #include #include -- 2.40.1