From mboxrd@z Thu Jan 1 00:00:00 1970 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 88A3AC001DC for ; Fri, 14 Jul 2023 17:52:17 +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=jFVkbtm50o/Wim+vMESFYAaZWbYFvvQABWMyl6jt9zc=; b=vD2aGZ47/rcj/q il49mUZyHtc3W+cmPT8O1UuYSCyq0aTU72EI8Rc4KCR2W3Jhj7oB2JVxAqDQeHv4LrKjkaU6Q6IYc 2IQMV+SLYsb0bDhLynuJ2Yk/R5VsQ5QbweqI7R+QLLfIv8jhHZ5FKYuJYd2dPM67UZkv1oSKCHLoZ CcMrQlw1dTXQRLGd17bo7a9unaqHDYL2eIJx3vqoqCbSXLkDs15tLYCXD7YY/ZYPh9+VIu5EU5XEk AYVgDeI8nmT0igJMCj8PBbPfqAdHILza/YkSDgi2SbLwHOmYBMNWHC7ssqIfnSLkOh41xXU9L0ikc EYYADDhfoVB7ihJ6TQmQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qKMxh-006sKL-1F; Fri, 14 Jul 2023 17:52:13 +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-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=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 -- 2.40.1 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv From mboxrd@z Thu Jan 1 00:00:00 1970 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 -- 2.40.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 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 E7DC4C0015E for ; Fri, 14 Jul 2023 17:54:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236581AbjGNRyd (ORCPT ); Fri, 14 Jul 2023 13:54:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236499AbjGNRyB (ORCPT ); Fri, 14 Jul 2023 13:54:01 -0400 Received: from mail-il1-f171.google.com (mail-il1-f171.google.com [209.85.166.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 403C2422D; Fri, 14 Jul 2023 10:53:31 -0700 (PDT) Received: by mail-il1-f171.google.com with SMTP id e9e14a558f8ab-34637e55d8dso9316605ab.2; Fri, 14 Jul 2023 10:53:31 -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=hz6pMEia4jYQqXWj9MAwlz6fbO70Ka295gSCypy+W9uUrjbUcVU2jmIiJNT7KXiGEq Hc4ESJtKa3izSLY7nutgh19SMB20rMfFzW5U0CiMnRUa6WMyDX2iPNEakwKs1ivbKKgb ClRct5C8YN7PKR3HWODyGmH39ZUzytE7RKFyoK9fB46AJyoloqAP4mJmqtcbyooV/8Vq TwiejJyOgsjU6+0WAUYGXJiDGzzVZ9nQWoT0gjKf1L/Ly98dZy1vYRSADNBeOCWG8e0W pNXNDxx/BHFxyOTSpa8SH7RYoWUVbijDHy0HkYyRI74ChfeRtrxM2kYgsq2s1GgA+NXp a0Eg== X-Gm-Message-State: ABy/qLaVlN+8G68JJnaGL0RbPkE2VpFDm68l7YWcc5DRsuE5Gpg/rBsp C/Gi/93RxQI/U1jE8RCwCg== 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 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: devicetree@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/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 -- 2.40.1