Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp6145048rwp; Mon, 17 Jul 2023 16:03:30 -0700 (PDT) X-Google-Smtp-Source: APBJJlFxZAJVs+aPn/D60VMwJojzHcwpFORawPRIXND7YA2QfKYflnQXyFe+wuzw4Bk+JTUnCYgT X-Received: by 2002:a19:9151:0:b0:4fb:897e:21cc with SMTP id y17-20020a199151000000b004fb897e21ccmr11691762lfj.67.1689635010303; Mon, 17 Jul 2023 16:03:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689635010; cv=none; d=google.com; s=arc-20160816; b=Z7HhI7/4IuSDE7U2xnEbqbnurUqed4bwxffs8bNX2CFIBY7UOez2Zv2AbTGinaLtJy A4ArjbdRWPpp1svOjzZqw9XuwYVJzQ8HOofcDYENN+WKpHFSqfzhMWN5wqhN8Wu2AzlQ c+bdnykg9fbhSDXPOHeQnKKQmr1+jlb3sB3iHnVicgiZcaLqxQLLeU4sCS8kNjBSyegO SmqO5Bv3e+BSv0fnaN8zTgH1iC0CWI7LRV9yqJP+kOpIe6tZqpdJlQl/zb1cnvZzJNov RvV0YVa6XSN2gWnnxhIvpBTVbZ0sJpOA7gNVg6EYkvFcxEwpzWJhUjgGqPRK81fRf2T+ 7+Hw== 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=0bu+l3CJQrToETWCbM2zLn21chePALBMffAUIgT8ryk=; fh=0ZyorzLUmAlDFCy60vPLagamcm06x+G+v8I9PnlSJYA=; b=TfrL/l3glj8cGuDnxhM5fmCOZncbBjGNRIHAe+a3QOwctrf53EITs+1raxnLCY1L7h r8gg5Z83F6hAHtXoUHnHy6V+ryViTPCPNdGXtBEaQek8woPb+C23ENRUuKr0UfEkPW17 mLmFE38semju3Y+8jfTR9Tvn0tQJU7OJwG3Qf1F1gZKvXh+CGXKiyzrNZqb8MT4zrHQa bpJxHP6Kz6nDNppOyBzs12nRbvF0YwameAwD8kPopF92XlO2wrBwf6kAfE3ZYZy7/KkF s7uo0kFunv/NIKnAm07pGewwcst687roZ6Rrb1ZTAjkpFvDMCatSexgV305/l/Zlvmx8 HJfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GFMEVdY2; 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 d10-20020a056402078a00b0051e0c61714csi268200edy.104.2023.07.17.16.03.06; Mon, 17 Jul 2023 16:03:30 -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=GFMEVdY2; 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 S230218AbjGQW6o (ORCPT + 99 others); Mon, 17 Jul 2023 18:58:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230221AbjGQW6n (ORCPT ); Mon, 17 Jul 2023 18:58:43 -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 2F5E8133 for ; Mon, 17 Jul 2023 15:58:42 -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 B0081612BB for ; Mon, 17 Jul 2023 22:58:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 43B99C433C7; Mon, 17 Jul 2023 22:58:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689634721; bh=zoQDrQx6VA0Kzn37i4rBJiv4CQt7POFa0ThlQ9tICnE=; h=From:To:Cc:Subject:Date:From; b=GFMEVdY2Jrl1RBbURPK007unlOIoSJJcTelXbKBZBbtIcQulwvmfinloecmRKDNPm TXsPCStrYxwiNuRCfvZkDdgQuCp4A3j2WG9zUve0vETv6sn1k1+8X7cPAPyKheI4O3 TcxwjtWFn+hfpwqd9eQU1N9O5hG5rR+l9mMZ0FwgFSwfp0I+MnwoOO+J0k/DrqBMQE Igf79J0iGbExiXUqc43PQYk0CjdtLJzFI9NwzaEWRceoUJHN48a0K28Rk8IjU0v7wj ppK3YkwZ+LOYhY9iFr+DzZd5gNxMo7/Y4v+D5pP8GijhDZQYl4/mPGMqIy8HfvWx2T sRG/bXpHZ6mjg== Received: (nullmailer pid 3212156 invoked by uid 1000); Mon, 17 Jul 2023 22:55:01 -0000 From: Rob Herring To: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Russell King Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: mvebu: Explicitly include correct DT includes Date: Mon, 17 Jul 2023 16:54:56 -0600 Message-Id: <20230717225456.3212019-1-robh@kernel.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 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 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. Signed-off-by: Rob Herring --- arch/arm/mach-mvebu/kirkwood.c | 1 + arch/arm/mach-mvebu/pmsu.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-mvebu/kirkwood.c b/arch/arm/mach-mvebu/kirkwood.c index 8ff34753e760..73b2a86d6489 100644 --- a/arch/arm/mach-mvebu/kirkwood.c +++ b/arch/arm/mach-mvebu/kirkwood.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include diff --git a/arch/arm/mach-mvebu/pmsu.c b/arch/arm/mach-mvebu/pmsu.c index 6f366d8c4231..79c5171f06ec 100644 --- a/arch/arm/mach-mvebu/pmsu.c +++ b/arch/arm/mach-mvebu/pmsu.c @@ -23,8 +23,8 @@ #include #include #include +#include #include -#include #include #include #include -- 2.40.1