Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp2803685rwp; Fri, 14 Jul 2023 11:34:25 -0700 (PDT) X-Google-Smtp-Source: APBJJlGAFjlBEuUfnbOyFmyzf+sWhx+kooMbmNGdSxYqGS/zHWZkbTrG47LzbtgG0okRIKqhpOoV X-Received: by 2002:a05:6402:31f9:b0:51d:d622:713d with SMTP id dy25-20020a05640231f900b0051dd622713dmr4732298edb.39.1689359665474; Fri, 14 Jul 2023 11:34:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689359665; cv=none; d=google.com; s=arc-20160816; b=iNaWfuMGi4Rr6g+lqTHBVGaxPbunZ91aKTTQqgggbT4Gdk9813ueUnV+CcP0cSrU1A 4ffzxN4KJSFAPNaHob4yGFNHB3Svetua0f0rCQrwJshtzJX76bW1/Xaotf1Cllic/TRZ wu70o6l8W3FIbpGJDvPMksjKCdW3UWKUD5bSKtONsdlrBoi+qJF2bdIFB4DIWgvFLI1h O32Wu6NnoOFf3b11TR2OnoBYltP6GSZx/20XLRTrNJ/Ctc3pRJpewkvRpobenvmiOqFf 3reEtbs7HGRwncGx9ZUKiQ/S6iUyioRkyk7mIgp0bh+65CqjV/P84hX0+taW7ueSpiaG jXfA== 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; bh=2PMlpQ3HTjbAalenA/6PsIQNQ/0/DKmxFydQ8HAQJcY=; fh=lO724Mh+8shKN5/vN5/FG/X2mb+V9vGw0zGz/KY26g8=; b=LkgKVpDVaOFYUWkXMr1EKrgDYKuQ4DvDIMBbel8QFWxRB9eyY/CIAXXIB6wLUVMJMy nQORK7bbndJ9LKzknGP5vqC+i/3Dudr94d7ti0xZH/VKpCQLBIYzPRlo1w1r/4P8IZG4 2JxBuRmOUPiN+Rk9R9r3gpA0dUZ1VgYCKKKi18fcfkPdRTM/Ec1NPsH3rG+Ff287LSXD /M6I7wmT83xwDMMsKzVDGfNvM9y93hiFZaDHeDBZpyyG6S/FWICBfIKkwmIryx9ZyRZl pJ/y+tw+3L7vbdHZGsHJfitbD6JVCHmm2xuq1oiNMcR5D6Onuyi75YAkSRTLIXvde2QO csAA== ARC-Authentication-Results: i=1; mx.google.com; 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 b17-20020a05640202d100b0051bf5123b01si9783411edx.251.2023.07.14.11.34.01; Fri, 14 Jul 2023 11:34:25 -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; 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 S236840AbjGNR7Z (ORCPT + 99 others); Fri, 14 Jul 2023 13:59:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236808AbjGNR7T (ORCPT ); Fri, 14 Jul 2023 13:59:19 -0400 Received: from mail-io1-xd2e.google.com (mail-io1-xd2e.google.com [IPv6:2607:f8b0:4864:20::d2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F213135B3; Fri, 14 Jul 2023 10:58:38 -0700 (PDT) Received: by mail-io1-xd2e.google.com with SMTP id ca18e2360f4ac-78625caa702so86686539f.1; Fri, 14 Jul 2023 10:58:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689357154; x=1691949154; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=2PMlpQ3HTjbAalenA/6PsIQNQ/0/DKmxFydQ8HAQJcY=; b=kL8v2zfcKCGYajGLlclpXodJrU2wSgEifGdTFo5m0gPbBrz0FWRxzPfrNxGQHNJnXb Owb2AMmQg5gTyrFaLco0m8PvpKztDRe5irdwzEe8VYvkGD6LAYPYNHkpOFX/u8U1gY32 6wkM8TWPbntTZOJypIC4YlABYQAEQWracRGf6g+mMmQ9XQB4OmQ2GBpuJpP7mHfoMmyq dPAhcp0k1rrYfgIHJehWBcYsitr6uyZC47tVr+S15wJgOo6LwpUqsYTZ0TiWXYSbKdAE x/M2hbSYKNpycArzCtmYbDSvgwgBBtBYpAo5muFRC/45H+OpXM64y2svB1cIONW24xJD cs2A== X-Gm-Message-State: ABy/qLb1vOqHz6fNuCnFvnSzEhfFAFegR0HS3oRrT+0ezJ2SyZtXn6wl f3XW7Eo5IjuaWzXGIOPE1A== X-Received: by 2002:a92:d792:0:b0:345:b923:971a with SMTP id d18-20020a92d792000000b00345b923971amr5237014iln.0.1689357154565; Fri, 14 Jul 2023 10:52:34 -0700 (PDT) Received: from robh_at_kernel.org ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id z1-20020a92d6c1000000b0033e23a5c730sm2843555ilp.88.2023.07.14.10.52.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jul 2023 10:52:33 -0700 (PDT) Received: (nullmailer pid 4068641 invoked by uid 1000); Fri, 14 Jul 2023 17:52:01 -0000 From: Rob Herring To: Nishanth Menon , Santosh Shilimkar , Tero Kristo Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] soc: ti: Explicitly include correct DT includes Date: Fri, 14 Jul 2023 11:51:56 -0600 Message-Id: <20230714175156.4068520-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=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 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 --- drivers/soc/ti/k3-ringacc.c | 1 - drivers/soc/ti/omap_prm.c | 1 - drivers/soc/ti/pruss.c | 4 +++- drivers/soc/ti/ti_sci_inta_msi.c | 3 ++- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/soc/ti/k3-ringacc.c b/drivers/soc/ti/k3-ringacc.c index 8f131368a758..d6efa1f7a95e 100644 --- a/drivers/soc/ti/k3-ringacc.c +++ b/drivers/soc/ti/k3-ringacc.c @@ -9,7 +9,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/soc/ti/omap_prm.c b/drivers/soc/ti/omap_prm.c index ecd9a8bdd7c0..babc157c0109 100644 --- a/drivers/soc/ti/omap_prm.c +++ b/drivers/soc/ti/omap_prm.c @@ -13,7 +13,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/soc/ti/pruss.c b/drivers/soc/ti/pruss.c index 7fdefee1ed87..f49f8492dde5 100644 --- a/drivers/soc/ti/pruss.c +++ b/drivers/soc/ti/pruss.c @@ -14,8 +14,10 @@ #include #include #include +#include #include -#include +#include +#include #include #include #include diff --git a/drivers/soc/ti/ti_sci_inta_msi.c b/drivers/soc/ti/ti_sci_inta_msi.c index b9251e1d9a5c..c36364522157 100644 --- a/drivers/soc/ti/ti_sci_inta_msi.c +++ b/drivers/soc/ti/ti_sci_inta_msi.c @@ -9,9 +9,10 @@ #include #include #include +#include #include -#include #include +#include #include #include -- 2.40.1