Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp2775955rwp; Fri, 14 Jul 2023 11:06:42 -0700 (PDT) X-Google-Smtp-Source: APBJJlHlmkLZlst1gfP1KRTMKf+gTwME7jkQ8Fm3u0+1XFGF5i/5zuaG9mZE4dQP1t3L/wpVrlql X-Received: by 2002:a92:dc46:0:b0:347:e086:eb30 with SMTP id x6-20020a92dc46000000b00347e086eb30mr3043604ilq.2.1689358002390; Fri, 14 Jul 2023 11:06:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689358002; cv=none; d=google.com; s=arc-20160816; b=Ea6L8dT3HUk/ommEK+piC48fKDy0XuMcJG9r11FulVZ2lxGEaEd58YUTRorIJqN40R U6umnfn7zhbLK17fYaex+9b06kOGNSTMe8UvA5/7bgeZQorc0Y8YfLb906xyOfSGCfXZ pjFzW1/ZkFGadOUfsiSKbdybBc3xmoZx5Qm2Guq25XRnZ7OHYJAyuV1VaBMmrxbLZ0IU TdylSpDBCdc4yA/3V1k1FcB9TutSPUAcqP8ecHo6NhMQkzIP+H74oY9YFdwY/fjLfpuB HvMP6hZ6JL3ihaPjNjytCDT5aHNo2wAN4sjYex5m9YASEMA84Mea/nVKuwAoYMraEqwQ ncNA== 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=IChM5VW1fCXIB3XDIWtNLNdMHW1npRKtBf3BFrldOoY=; fh=gPsm+0jKCZmiz2j10xsjpQD8SUqOuuZw35B4wApFZJY=; b=XCpOxgEHEdEjBlatOOqKbQedDvRtJQRDZsbKUQM2GNUB+petm96YvAaex7h9qs1pjQ Us+BdB1hjy3o+2vEb2LltXInw6c6zeaDy/w2kdDOSCKNYIRxpnV0BQUFEceZZsryxsMp pHJgbeh51OjsymEq5UN3iVLn2XhYL9qMkcLzdZlS7uUQgLwQ7OGLvShMhCi1/XL/re5r xVGyDGIunsGM2h07la6r3yvyeaX1+i+zTgQD0NP6G036svUhPhznbd75JeFvXEkjthOe AgWVqSz8TGmc8xv1lQMUDERv3nqWSSIrJO05WsRDqxGzg8a5RpxObmHXqBphxwHyMWfp 255Q== 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 gb19-20020a17090b061300b0025c256add2bsi1543240pjb.49.2023.07.14.11.06.31; Fri, 14 Jul 2023 11:06:42 -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 S236749AbjGNRyu (ORCPT + 99 others); Fri, 14 Jul 2023 13:54:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236728AbjGNRyR (ORCPT ); Fri, 14 Jul 2023 13:54:17 -0400 Received: from mail-il1-f182.google.com (mail-il1-f182.google.com [209.85.166.182]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01E923AA0; Fri, 14 Jul 2023 10:53:47 -0700 (PDT) Received: by mail-il1-f182.google.com with SMTP id e9e14a558f8ab-3476c902f2aso9335525ab.3; Fri, 14 Jul 2023 10:53:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689357157; x=1691949157; 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=IChM5VW1fCXIB3XDIWtNLNdMHW1npRKtBf3BFrldOoY=; b=FyZnbGPiwzFPXtZo0PyhDBtGMVBSn+3UitO3WjM7aF3fymlvjvVBVl8aKIenQwHvjt qxMK7fzjVdvVJs9t62xTVc/1pM7CsiFeC39Ky16LgKNNkGbumEvgy56An0pc9Hc8AS3I oLrwOFqaSVdDSm/fhViGL4OQ8PTaWbwjYmhYlsTUo4ZWeWsExshCQsOIglA4YOtkaXlo Fq6ssL+XjtfD0qNxDgeyvPUyDVWEnFk+RZSV4Ed7dSzmfiYDHJrZhAfQ1AxMbpnIyG/u cVf9zfeeTwlG6SkhRYdGuP1jhF+fXJFwO1LGptSSiW4hKMjY7kpcb2PkjJiZ0mY0iNQe xPDA== X-Gm-Message-State: ABy/qLbOUR25IXpSEfZ1vQOTWpQPSy0Z+aJhp9oewVoAzyKKxT0gcBOu vFBKpJRUwShh8L9tsNOGtGr5W3HqizUI X-Received: by 2002:a92:c945:0:b0:346:779a:ff70 with SMTP id i5-20020a92c945000000b00346779aff70mr4771909ilq.28.1689357156706; Fri, 14 Jul 2023 10:52:36 -0700 (PDT) Received: from robh_at_kernel.org ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id d6-20020a02a486000000b0042b0ce92dddsm2633293jam.161.2023.07.14.10.52.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jul 2023 10:52:36 -0700 (PDT) Received: (nullmailer pid 4068477 invoked by uid 1000); Fri, 14 Jul 2023 17:51:56 -0000 From: Rob Herring To: Thierry Reding , Jonathan Hunter Cc: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] soc: tegra: Explicitly include correct DT includes Date: Fri, 14 Jul 2023 11:51:54 -0600 Message-Id: <20230714175155.4068413-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,RCVD_IN_MSPIKE_H2, 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/tegra/cbb/tegra-cbb.c | 4 ---- drivers/soc/tegra/cbb/tegra194-cbb.c | 4 +--- drivers/soc/tegra/cbb/tegra234-cbb.c | 3 --- drivers/soc/tegra/fuse/fuse-tegra20.c | 2 +- drivers/soc/tegra/fuse/fuse-tegra30.c | 2 -- 5 files changed, 2 insertions(+), 13 deletions(-) diff --git a/drivers/soc/tegra/cbb/tegra-cbb.c b/drivers/soc/tegra/cbb/tegra-cbb.c index bd96204a68ee..be76c6aa131c 100644 --- a/drivers/soc/tegra/cbb/tegra-cbb.c +++ b/drivers/soc/tegra/cbb/tegra-cbb.c @@ -7,13 +7,9 @@ #include #include #include -#include -#include #include #include #include -#include -#include #include #include #include diff --git a/drivers/soc/tegra/cbb/tegra194-cbb.c b/drivers/soc/tegra/cbb/tegra194-cbb.c index 54d7ce05c636..cf6886f362d3 100644 --- a/drivers/soc/tegra/cbb/tegra194-cbb.c +++ b/drivers/soc/tegra/cbb/tegra194-cbb.c @@ -15,12 +15,10 @@ #include #include #include -#include +#include #include #include #include -#include -#include #include #include #include diff --git a/drivers/soc/tegra/cbb/tegra234-cbb.c b/drivers/soc/tegra/cbb/tegra234-cbb.c index 5d16161b2566..5cf0e8c34164 100644 --- a/drivers/soc/tegra/cbb/tegra234-cbb.c +++ b/drivers/soc/tegra/cbb/tegra234-cbb.c @@ -16,12 +16,9 @@ #include #include #include -#include #include #include #include -#include -#include #include #include #include diff --git a/drivers/soc/tegra/fuse/fuse-tegra20.c b/drivers/soc/tegra/fuse/fuse-tegra20.c index 12503f563e36..fdecf7b7c246 100644 --- a/drivers/soc/tegra/fuse/fuse-tegra20.c +++ b/drivers/soc/tegra/fuse/fuse-tegra20.c @@ -14,7 +14,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/drivers/soc/tegra/fuse/fuse-tegra30.c b/drivers/soc/tegra/fuse/fuse-tegra30.c index c759fb7c8adc..e94d46372a63 100644 --- a/drivers/soc/tegra/fuse/fuse-tegra30.c +++ b/drivers/soc/tegra/fuse/fuse-tegra30.c @@ -10,8 +10,6 @@ #include #include #include -#include -#include #include #include #include -- 2.40.1