Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp6940673rwp; Tue, 18 Jul 2023 07:55:36 -0700 (PDT) X-Google-Smtp-Source: APBJJlHy8Rh/uJL9epcSU5LW1sj49yJ01w5tz7FJDrT8vPoGN/4jQqC7C0xuzTULZ0+UUA5B6iy2 X-Received: by 2002:a17:906:280e:b0:988:f93:32e8 with SMTP id r14-20020a170906280e00b009880f9332e8mr4743ejc.26.1689692136312; Tue, 18 Jul 2023 07:55:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689692136; cv=none; d=google.com; s=arc-20160816; b=r03XKJRRuXjaboUcfh2JhYGP9jqboWKPOEEKk07nyXgmTOSi5gIlUhQxl8EbMB7Mgl VnlLHsuz5iHJ9FFvlmQGvaaykNk1u9kBhL720E2/lFkZl369yUeaL3b22kAxv8ZXwnxz uCmFqV1xoMDTLhWyboxZXQ9N27uLFFiJH/kLsmD0drWKY0rhpqh6CQV4iCtFAMcwE0Cl 6KKZC6XgJx4ofT2Vn3DwpSDfvCF5RL7wDB0ehHl4Wk0zVbuu+hr6kuRLSIAdmVzxG2jk lgQSNwfw6HG7/hxVvmTyND2yZuUmyFGVSIcePjLk/ngREP9Lm9CvXqxZQClzGmK5lcvZ +dSg== 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:dkim-signature; bh=YznJl7K4HxOCA6IwCwk9wKz/SlLi0Se2eMFSXW+WHCE=; fh=hWiAyP7IT1q6cJXfMtp4VLmzAAQluhE3Q4SZVf8fwfk=; b=Rz4YrV2Oa5eGigLbi8M1vcmw7hl6jAgkXFY6cdNbmqn7AH+7Qm1GpbbGlon7Y9lA2J EWzgcjb3XozlIn4w2dQmQxBRBKJa4LVie9vm39UGlhNNlMZeZjSlpQOGasiY2vKPaEcb p2AtgwJSW97h95mLAM9tUJ9MYjt2fFpzldE5CPrJ7wsXACBvroj5csfLe7rVN9aNkISi QA7CN73lBWCm0Yif0PvXuYLsZkdNlRh/KuY+IKE6sko2Qy/yFxdAFA1WANSaXd3yW91C voJ7fBlZGdMPIejJBTmz/QFXDj/sPQARQeUUx7Q4dWXNIrJCsreiYE3pNF7WgrPRpDgu ZYDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CGkea7uN; 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 mf16-20020a170906cb9000b0098f564f6366si1284574ejb.345.2023.07.18.07.55.11; Tue, 18 Jul 2023 07:55:36 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CGkea7uN; 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 S231835AbjGROcs (ORCPT + 99 others); Tue, 18 Jul 2023 10:32:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51924 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232654AbjGROcl (ORCPT ); Tue, 18 Jul 2023 10:32:41 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2088F19A8; Tue, 18 Jul 2023 07:31:44 -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 2FEE9615F1; Tue, 18 Jul 2023 14:31:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E9420C433CA; Tue, 18 Jul 2023 14:31:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689690693; bh=ba3m1s5WPrhUSyocwM9OpDXR60J3dyTCWqkB5ZsXqTU=; h=From:To:Cc:Subject:Date:From; b=CGkea7uNB7yXm/lGqzPbFWkizwThuRpV+QhDaIu4p4CI2EPiB+OHxY1rP+QppgZ6s 29N9d99mnaHOO6e7pHcv1IcEHIYTTgxtaqtLfjbHJZKe/WJwNWmQf3a8bOiPBDRR+M CLb0cSSK/Z80pqabj2JeEIa/nsPZS2uIW3ZrEtFpv+u6xwfQf0RBtTwpeTe9umOTn8 5CGT0wD6WVp+OPTQsSXtMd6Hi7C7EXQSrzXgoPOrkbh/zz3ykiUk0elWSlbAbFDM5j sCdcUFTfSz98Ka2/n5N9ZghuI1SdyK5t2muCjC6XzgS7OfthUru8wGznBVkb4vNGho tyqz2MaAJWG2w== Received: (nullmailer pid 1066123 invoked by uid 1000); Tue, 18 Jul 2023 14:31:32 -0000 From: Rob Herring To: Suzuki K Poulose , Mike Leach , James Clark , Leo Yan , Alexander Shishkin Cc: devicetree@vger.kernel.org, coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] hwtracing: coresight: Explicitly include correct DT includes Date: Tue, 18 Jul 2023 08:31:24 -0600 Message-Id: <20230718143124.1065949-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=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 --- v2: - Fix double include of of.h --- drivers/hwtracing/coresight/coresight-core.c | 2 +- drivers/hwtracing/coresight/coresight-platform.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/hwtracing/coresight/coresight-core.c b/drivers/hwtracing/coresight/coresight-core.c index 118fcf27854d..9fabe00a40d6 100644 --- a/drivers/hwtracing/coresight/coresight-core.c +++ b/drivers/hwtracing/coresight/coresight-core.c @@ -17,7 +17,7 @@ #include #include #include -#include +#include #include #include diff --git a/drivers/hwtracing/coresight/coresight-platform.c b/drivers/hwtracing/coresight/coresight-platform.c index 3e2e135cb8f6..27ca22c5104f 100644 --- a/drivers/hwtracing/coresight/coresight-platform.c +++ b/drivers/hwtracing/coresight/coresight-platform.c @@ -9,9 +9,7 @@ #include #include #include -#include #include -#include #include #include #include -- 2.40.1