From patchwork Fri Jul 14 17:51:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 13314039 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 7E72DC0015E for ; Fri, 14 Jul 2023 17:52:41 +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=TqXLIciiY8Yi/OTYfjPKjzxWuDAJQ7ObJvKtQYqxWws=; b=iHQx9mxZtJsT+s F9Vcs1r4EDVydmTMXvj3cqfSKjzRbqS8MrIGyFEvaJ5yHckzyNb8JpmHKUXWd8o+kKf7IJoximufx 2v2UKoOH8+kUcohPb073TXVf/IKGM2wCwH2ie8Jx/9Runo9VgOYc9TovmPNTXuxDTVNohdiRlqTwt tXV2F/sQJXZJY7xwDAd1yoKcbh+Z9cjsvG7Q1Z6wkZIh6NJPQYBzli3QJrnliIAVJW1nYZthFoYBK 3wy3aJyKiG7lzEVdCcgNG8sIwvi6cA8eUlSSggbdKoaDnBdvpQIMw/ITNycLQmv1ItU4pydiGIuBP Y4W3BkNcikTQffvEVOJw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qKMxe-006sGI-3C; Fri, 14 Jul 2023 17:52:11 +0000 Received: from mail-io1-f46.google.com ([209.85.166.46]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qKMxV-006s2o-1r; Fri, 14 Jul 2023 17:52:04 +0000 Received: by mail-io1-f46.google.com with SMTP id ca18e2360f4ac-78360b822abso87652439f.2; Fri, 14 Jul 2023 10:52:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689357120; x=1691949120; 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=sTzcVBJWZ3FygfO4cCF34p+eZrcFm8fXrcWkJJkRg+4=; b=aTs+z8vS059shauvPWs0hDnmGYVNekjmB6RU6ehnUC7AyUPD63TdcZ1ivHX5/54QPV R4oyI5IsIBK/UsvssyFEGJ1ST/uMltKEMm3LnCU4+Yk9ei4r7UAUez6leNNhnIyMeEaz fvXXYrYjIQmXwueTQVunwvz28+a7Pb50YB22ffDbTyMBugK5DBN/zWGM14fYsStf4ca2 U4PUhqtXIyzAhAuI1f0vcsjh/ix6ZKXOHbTEeaXgtPrhYtX0ESgGAzgEIxX1XxlrNGeW NkQO/0gAby9eBsk6RDtczZWv0BaaBQrvxMN/xqquRDV1RQBO4ip+U8EjDgumJzsK/sbS KxiA== X-Gm-Message-State: ABy/qLaN8KVHNJEl/DWLX2PYVCtv65urWm860KqZhOkoPnOvlmYFqqnd 7cXsw0wE1IHrdx+bwRZq6+CGHcZhHI+E X-Google-Smtp-Source: APBJJlGpJgoM+pVfwZn7OJWzOzIWz07PqgfABsQSmT1UwRrTyjoPvoB0A+qUcXRVic/HD+YI9+DzRg== X-Received: by 2002:a05:6e02:109:b0:345:ad48:d160 with SMTP id t9-20020a056e02010900b00345ad48d160mr5022494ilm.17.1689357120622; Fri, 14 Jul 2023 10:52:00 -0700 (PDT) Received: from robh_at_kernel.org ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id ed26-20020a056638291a00b0042b451aa95esm2589606jab.150.2023.07.14.10.51.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jul 2023 10:52:00 -0700 (PDT) Received: (nullmailer pid 4067752 invoked by uid 1000); Fri, 14 Jul 2023 17:51:40 -0000 From: Rob Herring To: Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Conor Dooley , Daire McNamara Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: [PATCH] soc: microchip: Explicitly include correct DT includes Date: Fri, 14 Jul 2023 11:51:38 -0600 Message-Id: <20230714175139.4067685-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_105201_613009_7B4CF3E9 X-CRM114-Status: GOOD ( 11.65 ) 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/atmel/sfr.c | 1 - drivers/soc/microchip/mpfs-sys-controller.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/soc/atmel/sfr.c b/drivers/soc/atmel/sfr.c index 0525eef49d1a..cc94ca1b494c 100644 --- a/drivers/soc/atmel/sfr.c +++ b/drivers/soc/atmel/sfr.c @@ -10,7 +10,6 @@ #include #include #include -#include #include #include diff --git a/drivers/soc/microchip/mpfs-sys-controller.c b/drivers/soc/microchip/mpfs-sys-controller.c index 216d9f4ea0ce..fbcd5fd24d7c 100644 --- a/drivers/soc/microchip/mpfs-sys-controller.c +++ b/drivers/soc/microchip/mpfs-sys-controller.c @@ -13,7 +13,7 @@ #include #include #include -#include +#include #include #include #include