From patchwork Fri Jul 14 17:51:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring (Arm)" X-Patchwork-Id: 13314098 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2BC2AC00528 for ; Fri, 14 Jul 2023 17:53:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=J7+3JapsFQqA7D5HYOYs38tY/obwyu+5yx3ZEmxtiFQ=; b=tvxhztDBy++W6Q UrcAP7JRBgnqFFzl4p4uSH8AoLxcMkuPeEsUUhSY6zcaW3urDNEaZcTitgF3cAxabphPspqpGonBD CRaQ5+3VHYMFirJpq4orIcMSJRpwOvJ5GLYt4Sx7yBlpuuJUQdIg9coOo4GQQnd2dGM6lZ94NVPGj FyiMa6bcwtErOSBmZxfl1STDxhWobRIvu/W0s1LJNdbDrnmK7UpYDQeLXATmIHMGtkjV1XtTaCHsl soo/6rGfnYey4Q1ouxsjGiOHLogzfGXJgo435gHjctFEegUuQwaO2WijqI2ParZwKDI+0s/TyboQn /Ec7KzLKJDpYhbfoSIQg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qKMyH-006sww-2h; Fri, 14 Jul 2023 17:52:49 +0000 Received: from mail-il1-f171.google.com ([209.85.166.171]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qKMy3-006sk9-1I for linux-arm-kernel@lists.infradead.org; Fri, 14 Jul 2023 17:52:36 +0000 Received: by mail-il1-f171.google.com with SMTP id e9e14a558f8ab-3476d0b5295so9380755ab.1 for ; Fri, 14 Jul 2023 10:52:35 -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=i8XcAj/OSarOrIi8gnBMfOk8lLl8a5nWZuH1VwBStrc1FTt7o2rQ0tBzq1ggd5U5QY 4R64Rqjje9CUawaBF6QPdktZMz9/JiHMWNt97241+OThCJ611C2ogdWxCEPYO4M74tSw CsivbtscCNf13wVyl8NMiNUh+VdiaBfmw6nVJdkHdLoqcbpolC4JpZYZFiLKMJCKzpfh 3u1Y33hy9Arfc6NzmE9O3oT9yKx1uRG2xTOuXi5N2vDLGl67qI9w8FWNh/bL3HEwUvbq qB4KTskhW048uZNuAIeCZNmNGmYRzlyfSN/5yqJ63Rc56eM0WkercJlpx3iiFezUo6pc CzXA== X-Gm-Message-State: ABy/qLa988IqVOZWdpXPTUBXLCErMQrpOYTemwoKBbNQShIaeVRO/3Wn C975IYNRPoz6xKALTTPNHcNS9t1MPO+/ X-Google-Smtp-Source: APBJJlEcZ58gdu852hp7ZczyMh/1J/nOOMcSZ9qA+m6N6rWZLO3N0fP5UdtvbOX8MhGwZZyx/0Ez7w== 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230714_105235_477197_DBDA4B0E X-CRM114-Status: GOOD ( 12.74 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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