Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp9859094rwp; Thu, 20 Jul 2023 10:41:57 -0700 (PDT) X-Google-Smtp-Source: APBJJlHaaw7Lum6yfxKGOfCXb2ULDuU9OBXMtQNwlBfXWgFxgT9AsatoA+u0kUs18DznOujAh52D X-Received: by 2002:a17:906:5d12:b0:993:e85c:4ad6 with SMTP id g18-20020a1709065d1200b00993e85c4ad6mr6265329ejt.7.1689874917134; Thu, 20 Jul 2023 10:41:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689874917; cv=none; d=google.com; s=arc-20160816; b=wCNRen9TovYjrta5E0k3ysG9J3MYeh6hSjD8dExNXIq5bms8ifWbwtEmnV0upHMq7M XnqEVrtgXjiC7iFInCSGzOHB0tic2j0BdHSQo15ciuR3snm5XQuVKcxeSQcljDCDUhBh OL1OMGj4DJgPXnU2VQQip2Wke4CxyZZfZKXjZn8TdAvSgGWOUrBF0MO2WJRTyY4ykw4s VGvJCZJiZRwAtfwYPhgfv051LLCZ+90hC7HLhJgJPI96lqQCR5okQkFhjcS+CtIHSoLL qMzQot8+uDRhi1CxDp4hXGQskH3KkW0SIGedcD5+tzMP/yDbfaZQeExgTMMFTmK733gU 44hA== 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=rgLMgUbdd0RzaHfWyHDhbfA4aoI0ERm/sNq9VuDS+ac=; fh=TJsMdkJvKqRBGTgAxd7dRxwjDVDn9dAg3MHSBMktNTU=; b=BndJYMeEYBUPNIEz415M2PZZoNRI6xvTA66PRJOm37bdyyTMwdBs8unqqPSQOUYQh+ f2J4N7TQsRnttgr/4Bk1Nx1na5iiQuKd148+I3OyCG0c95yvcnD+ptVtOMUxpsJrd3G1 ddH7CTIxOG3lYCLnwRMuexhguklJFXM90hW0aUpEfFHJld4oOe7NSOE9EBMRUJ15mrFT MLLNO6rhBaSGQZQZX5nzMJl1ykQRn7dEqcppLqXv6uAvfuwr0m/zAv3MO3mf9m1t3dAv h8IKH0H9i2bhosKB6owMBNEYVfif3JMOUyj2pwKs/pgN3XeOznND6tHXHvJ+9fWonRT1 0COA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QD6XaiB2; 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 la24-20020a170906ad9800b00997e8ac3332si876632ejb.340.2023.07.20.10.41.32; Thu, 20 Jul 2023 10:41:57 -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=QD6XaiB2; 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 S231823AbjGTR2D (ORCPT + 99 others); Thu, 20 Jul 2023 13:28:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231824AbjGTR1y (ORCPT ); Thu, 20 Jul 2023 13:27:54 -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 AC6F51BF7; Thu, 20 Jul 2023 10:27:51 -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 429C361BA7; Thu, 20 Jul 2023 17:27:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3DAFEC433C8; Thu, 20 Jul 2023 17:27:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689874070; bh=1kh3ObTlvQNgnJvRmUsZj0kR/MmUDHQVLFfUagMOtjc=; h=From:To:Cc:Subject:Date:From; b=QD6XaiB2AWs/f/7Jh0I+EUpKz6saq19ntzsrNtrBCdFajZ1t4oId3GCfYQJZaLVtd XG98Ga+5xavB1sdYbbrAb5kAP94SsGvo8sFc2Bf5uG7GxuKI9nhv8/8yTUPUlcj0r9 Vji9FCrKKR6HoCabeZqqVL/au3URjV5iY6N1K5XUYO9M7bCftM7c4RC3Xb7dEPAKhx CcyM3Ye49OIPKCnonjrSS+xJkli2poy8/PoSwkzuxM7B184+K/HzfTqy7Qr1f7DCe/ 9mIrT0eVwxw0Zb7bn7GkqqCkag6uKEwPspbAgxq2/scyB66vCzaTiyuk95vL+hL/7A 88pea1gAPkVcA== Received: (nullmailer pid 2918734 invoked by uid 1000); Thu, 20 Jul 2023 17:27:49 -0000 From: Rob Herring To: Tony Lindgren , Russell King Cc: linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] ARM: omap2: Explicitly include correct DT includes Date: Thu, 20 Jul 2023 11:27:43 -0600 Message-Id: <20230720172743.2918601-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=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,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. Signed-off-by: Rob Herring --- v2: Add missing Sob --- arch/arm/mach-omap2/board-generic.c | 3 +-- arch/arm/mach-omap2/omap4-common.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-omap2/board-generic.c b/arch/arm/mach-omap2/board-generic.c index 10d2f078e4a8..fde6ccb3df6e 100644 --- a/arch/arm/mach-omap2/board-generic.c +++ b/arch/arm/mach-omap2/board-generic.c @@ -9,11 +9,10 @@ * to support the OMAP2+ device tree boards with an unique board file. */ #include -#include -#include #include #include #include +#include #include #include diff --git a/arch/arm/mach-omap2/omap4-common.c b/arch/arm/mach-omap2/omap4-common.c index d9ed2a5dcd5e..5d924b85b694 100644 --- a/arch/arm/mach-omap2/omap4-common.c +++ b/arch/arm/mach-omap2/omap4-common.c @@ -12,10 +12,9 @@ #include #include #include -#include #include +#include #include -#include #include #include #include -- 2.40.1