From patchwork Fri Jul 14 17:51:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 702898 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 B134AEB64DC for ; Fri, 14 Jul 2023 18:02:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236577AbjGNSCW (ORCPT ); Fri, 14 Jul 2023 14:02:22 -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-Google-Smtp-Source: APBJJlFVG4BlnE8e/gefDbF6oc9DvjMZ4WAVgq8QrgRHEibJv0xhLoUNCJhTGiSxb3ZZ48aipTm60Q== 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 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/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