Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp2806063rwp; Fri, 14 Jul 2023 11:36:58 -0700 (PDT) X-Google-Smtp-Source: APBJJlELKkFXpT5Bz3gRXzvXM+uVbO6foVT2JywLj4as2mxbsN1CwXBM9dJcQz5SQ9oA3yHq3syL X-Received: by 2002:a05:6870:d798:b0:1b0:5e57:c28a with SMTP id bd24-20020a056870d79800b001b05e57c28amr6507093oab.57.1689359818364; Fri, 14 Jul 2023 11:36:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689359818; cv=none; d=google.com; s=arc-20160816; b=iLdIr0VWGs8hUuva+A2HrmzNxkSv82+iXsDkB4aronULMb26RM7Pm1/6h7H1lsbMj+ lnxgSpuVX0ac/KuggJxZRxKi9IkdihK5dbjKgYFyT4McT6unaXj3MnDjzkmSaQMPJ7sT jFAd5a464xdT973M/ec4BxiThffKntKpKxUmCZZlaJbjy0+DWhi1uAM34euHSqx/E3Gy Qek9xKnEAxCwvBLdyhyDHLBd3z11zitD9M0WzYsmZLf3HMZpMWwbqz+gr8B2eiz+dE3G r2uE3w9vxKounrUIyFf7ffVG7mOkvtdLmypBcm4saCzEUdFfYGQ6Y6tmrOJ19p8t6MuS GAwQ== 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=oD3/Nwpd4WJ/So+epUL0cjI+Em8klOV8PbZ4Er1vnus=; fh=nC1F72A9lcc3Qc9AB4WQRbovpnF4TNDvVvh6doZlJxk=; b=EbikIiOibK6yTISJhEQQlSD1dnDnNY//BFz9zU833qW8+7aFNwocb5KTaik3N9jl0N qGklqKOPohhMsCh8Bg7Q7qmlj7U6W5Oo126oyzTTtoUWbuDvqGQS1ByHyrFr1gFP+xg/ KkXcAqlnnmLCFP1FC156WFvzr3U2ELg8X9VIuuCWOUToduphzTFig7QDJC+CTVT2itxl qj+sZyfwKEPixAzzzf20INlA7ZZYIeYXgjJlDNuxwCCvzl6MEvxrZBFCvX+ieunge8Xy oEymAXLSP9NSFlCuCExeevEluoWL5VxAqT4gl8Tz8IkG2U89uqxOrxWX8PRKPfTC3Rct ngyw== 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 x71-20020a63864a000000b005577699e66esi1332174pgd.389.2023.07.14.11.36.46; Fri, 14 Jul 2023 11:36:58 -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 S236795AbjGNSCX (ORCPT + 99 others); Fri, 14 Jul 2023 14:02:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236846AbjGNSCL (ORCPT ); Fri, 14 Jul 2023 14:02:11 -0400 Received: from mail-ot1-f53.google.com (mail-ot1-f53.google.com [209.85.210.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5AE203A8F; Fri, 14 Jul 2023 11:01:32 -0700 (PDT) Received: by mail-ot1-f53.google.com with SMTP id 46e09a7af769-6b9c57c4d12so320489a34.1; Fri, 14 Jul 2023 11:01:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689357624; x=1691949624; 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=oD3/Nwpd4WJ/So+epUL0cjI+Em8klOV8PbZ4Er1vnus=; b=Ck7kSOptwP3pT34bumevST9sCI/JWndHXXDJ64+hzdFl7KOHbkdO+irhDIXExaU+v+ rzoiDM1igqDlamfyf3gDQfqvtgFkLYgvm+7Ts3dmhFJ+6/t3GmuNfMTuAmhixzNWooTl 7Xz3wjAXRxS7NrEifP3Lwz8RyiIVUbDA6NltMzP3Kyue+P3JMJPSaJHcxQfTD4mW59Rp Nt43vzVrJINJfs7FYl6yQWlivEOd+RhnsKpTZ4fflB3IgsymAoOkw8w6CtAMNHOScdoJ 9fHRe1sQlNXTzdbwAl8+tZWKzDnQfK316Azt5YTvJXJ3GRzndW/1LuIDpM023VnehahD Pmqw== X-Gm-Message-State: ABy/qLb1+VnkiQSNL2uL5mjSTPLpFgRySsMuhkOU/AvW/s5bSE97I7Su y5iAueZXG6LW5LJUheISe8NIA2TbE0ye X-Received: by 2002:a05:6602:2565:b0:783:63d6:4cb with SMTP id dj5-20020a056602256500b0078363d604cbmr5308389iob.14.1689357158415; Fri, 14 Jul 2023 10:52:38 -0700 (PDT) Received: from robh_at_kernel.org ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id a13-20020a6b660d000000b00786fe5039b8sm2805662ioc.46.2023.07.14.10.52.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jul 2023 10:52:37 -0700 (PDT) Received: (nullmailer pid 4068243 invoked by uid 1000); Fri, 14 Jul 2023 17:51:51 -0000 From: Rob Herring To: Walker Chen , Conor Dooley Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] soc: starfive: Explicitly include correct DT includes Date: Fri, 14 Jul 2023 11:51:49 -0600 Message-Id: <20230714175149.4068174-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_H3, RCVD_IN_MSPIKE_WL,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/starfive/jh71xx_pmu.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/soc/starfive/jh71xx_pmu.c b/drivers/soc/starfive/jh71xx_pmu.c index 7d5f50d71c0d..d3b78a619d40 100644 --- a/drivers/soc/starfive/jh71xx_pmu.c +++ b/drivers/soc/starfive/jh71xx_pmu.c @@ -10,7 +10,6 @@ #include #include #include -#include #include #include #include -- 2.40.1