From nobody Sat Feb 7 20:39:41 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 917DCEB64DC for ; Tue, 18 Jul 2023 20:55:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231131AbjGRUzh (ORCPT ); Tue, 18 Jul 2023 16:55:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229553AbjGRUzf (ORCPT ); Tue, 18 Jul 2023 16:55:35 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B760198C for ; Tue, 18 Jul 2023 13:55:34 -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 085B360DC7 for ; Tue, 18 Jul 2023 20:55:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EEEBBC433C8; Tue, 18 Jul 2023 20:55:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689713733; bh=M0onE6i8LADYq4rymohE2xl3aT/2qhOS8gY865csRy0=; h=From:To:Cc:Subject:Date:From; b=rJQp7xnFkUhyUlWzwfc8LOJrz5AAYmmUWLnoteAmgx5CkfAAWovFMQ7sticHzqUHA oTLADBDkF0KqqJOJhZKWV2qWxn71ZBWTITUkyaafBgKJLDwp18Ymx3BnaWJPHMt5+Z QEoNYWiABtPCMU+D7mxdXEUUe0INufQ4y4jqyAUY7hHwOghTSwxp3B63PlzA+Lev2J Tb20ezYHeAJvRcU+9AIHhnW1PKu2oGbFcnrH9bq8mUbBG/7nfgQ2Jq8rr6v3SpRUtz wj/2VgE/A9kwLAL+ZXXUnI5S/uHCA59zMr/obUskTSePowWXi72GbZMzHP5SWmvWuh sO+Z2t9ogI9iA== Received: (nullmailer pid 1791507 invoked by uid 1000); Tue, 18 Jul 2023 20:55:31 -0000 From: Rob Herring To: Jeremy Kerr , Joel Stanley , Alistar Popple , Eddie James Cc: linux-fsi@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] fsi: Explicitly include correct DT includes Date: Tue, 18 Jul 2023 14:55:08 -0600 Message-Id: <20230718205508.1790932-1-robh@kernel.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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 Reviewed-by: Eddie James --- v2: - I inadvertently had a dependency in my tree partially updating the headers. That's squashed in now. --- drivers/fsi/fsi-occ.c | 2 +- drivers/fsi/fsi-sbefifo.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/fsi/fsi-occ.c b/drivers/fsi/fsi-occ.c index abdd37d5507f..da35ca9e84a6 100644 --- a/drivers/fsi/fsi-occ.c +++ b/drivers/fsi/fsi-occ.c @@ -15,7 +15,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/drivers/fsi/fsi-sbefifo.c b/drivers/fsi/fsi-sbefifo.c index 9912b7a6a4b9..4bae52c98620 100644 --- a/drivers/fsi/fsi-sbefifo.c +++ b/drivers/fsi/fsi-sbefifo.c @@ -22,8 +22,8 @@ #include #include #include -#include #include +#include #include #include #include --=20 2.40.1