Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp2769967rwp; Fri, 14 Jul 2023 11:02:25 -0700 (PDT) X-Google-Smtp-Source: APBJJlEgMBeLPJHBcO3451rzqqWX2zF8+2mhZPJ3mVu7gC6uJOSgeZxuZo/2FOjkU7zSPCAxN0UE X-Received: by 2002:a17:902:ea11:b0:1b9:d38d:efb1 with SMTP id s17-20020a170902ea1100b001b9d38defb1mr4580369plg.8.1689357745020; Fri, 14 Jul 2023 11:02:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689357745; cv=none; d=google.com; s=arc-20160816; b=KfmWvhNej4//zEuWMNoBd1r57OoHkTsq4vG9GIY+eWOk2MYG4Xw7XiWh50UeZVb5/y YiUnyfixed/STuWHCYTcmWf+mioMvoUr94At3yDvHCGSmyOOcDActzcSVnCr75SF7Jrb mqIRrt1kMTsF2ebVwi2GmbpHdHTfh/aGwbLRSEe1GozxdSeOV67yNGc5PIqL1t4xzxgi R+GdacxJTYA1AGgBVUPav9fxsZbf8sbOYsU2HQ/WOsXKNmcgDZQ0NhSLvk+o830OIfBu gHUu7qcuvrrNuocgPAhKkjKK+k8LaQE3tyU04fDR1WcnB0W7z4JvM3Lwa4x3ji3TkGm4 bqJQ== 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=AD0GCzyHwk+fw3TWcRW0UAKm/GOePKzWL5Rq+E6gtqA=; fh=pLJlDwlUhOVsIFAIlkSo9v9qeHSnfKeyncyMAdgrVNM=; b=n0+3/+KEdtJsToGKdnYkvoQVanrGKvAFp2oLc0WkAl5g2WrO1nnhjxn0fLmIwZGo7h LaqChgWfxOEKdcOYlkjKM3ts/VhRFuoe7tCaZzrS1TCmk824Z+R8bfH03AX3buffxbD1 FTpxqDdRIAJHZVL2G+lPc1fFL+QKkgTDIAjGrOqsRwFDU2lbgf70X52aPyKwWackPOva GjfqMMvkdE1AbXSauj+vsyDNy8K2k46cDw5pvrqoKSfl8Ojgf04L7ZivKVPpw1smN2rL 75nFZZISh19XQFOIZHOkmo8WQfX7Q5j8RPSTpfW7zR52Qh1JRiyDAyLJugvTi8o8pSh0 IDPw== 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 p8-20020a170902e74800b001b6788a54f4si8106329plf.191.2023.07.14.11.02.11; Fri, 14 Jul 2023 11:02:25 -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 S236348AbjGNRrp (ORCPT + 99 others); Fri, 14 Jul 2023 13:47:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236339AbjGNRrf (ORCPT ); Fri, 14 Jul 2023 13:47:35 -0400 Received: from mail-il1-f172.google.com (mail-il1-f172.google.com [209.85.166.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AAE863C22; Fri, 14 Jul 2023 10:47:12 -0700 (PDT) Received: by mail-il1-f172.google.com with SMTP id e9e14a558f8ab-34617b29276so8041585ab.0; Fri, 14 Jul 2023 10:47:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689356779; x=1691948779; 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=AD0GCzyHwk+fw3TWcRW0UAKm/GOePKzWL5Rq+E6gtqA=; b=HQrAw6ViQ2VAF1n8xOzf0Eru8ihbzKVn3176kKoUY+EmowWvwx9kTFcqS8I/CfsfO5 JJXduJgOvAyn53B2W67rwSciaqq1hvIe16CshqRAK/BENjerudj1OLKwWPpP6HwuBGB1 rK1VYTdmkL4jYEwPWvOru3LezoIMUW2vMxVjG7lk4wImu4zBTc7+6emaYzAGORsg/eQh Vl9ntBKWJznh7Le2yFP9yQQHZQiSychY9BNKw5QLQB0k7Z0eeUyo7v7k09LLr7u+eNMx X1GRKDf31eoYSbNEig6TOIu3GL+NlAbwydGul8KIFFah9UlzE8UZa9NXb4seSkXAy+GY HcwQ== X-Gm-Message-State: ABy/qLaIw8+nIn2NdhlaOC/BWIDEVkhwxk+kL+6lmBdkOjlHVa06sezm taTbHJu3sVHMNJRhiKa9iQ== X-Received: by 2002:a05:6e02:e0e:b0:33e:51bf:727d with SMTP id a14-20020a056e020e0e00b0033e51bf727dmr2417113ilk.10.1689356779202; Fri, 14 Jul 2023 10:46:19 -0700 (PDT) Received: from robh_at_kernel.org ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id j3-20020a02cc63000000b0042bb2448847sm2620708jaq.53.2023.07.14.10.46.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jul 2023 10:46:18 -0700 (PDT) Received: (nullmailer pid 4057142 invoked by uid 1000); Fri, 14 Jul 2023 17:46:04 -0000 From: Rob Herring To: Dipen Patel , Thierry Reding , Jonathan Hunter Cc: devicetree@vger.kernel.org, timestamp@lists.linux.dev, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] hte: Explicitly include correct DT includes Date: Fri, 14 Jul 2023 11:46:00 -0600 Message-Id: <20230714174600.4057041-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/hte/hte-tegra194.c | 1 - drivers/hte/hte.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/hte/hte-tegra194.c b/drivers/hte/hte-tegra194.c index 06ef349a2265..6fe6897047ac 100644 --- a/drivers/hte/hte-tegra194.c +++ b/drivers/hte/hte-tegra194.c @@ -12,7 +12,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/hte/hte.c b/drivers/hte/hte.c index 67c15724ee78..598a716b7364 100644 --- a/drivers/hte/hte.c +++ b/drivers/hte/hte.c @@ -10,12 +10,12 @@ #include #include #include -#include #include #include #include #include #include +#include #define HTE_TS_NAME_LEN 10 -- 2.40.1