From patchwork Fri Jul 14 17:51:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring (Arm)" X-Patchwork-Id: 13314096 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 90F05C0015E for ; Fri, 14 Jul 2023 17:53:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=HD/6qumveGrhEfPQWeknMU7Nkcw+hisPvknfScXcG1M=; b=M9fJR1etQ6cgzD R6RI7mKH9kjUc8q1i6xuudcdKaXh5bBPTtksOc2g+HyWGKPpoaCUzVds8qU8418So8p8wnDmlX9Xa 7t7gb8ogoNJmvOs7P0FybBW1fKkCE7aYm6nLAln8pRqD7XuFSsTNgloTUmrwEKYW4a2sU2X6qh/q0 QW8Qugxm0f7+pVrODFfsetRDKrsZrhHNvnsHI1YdxAfjv7G8h1qr1+Z1evFYvk9Ksb107wwEHHBar sjycpaR5FIbeBcWvDclZDjM5fcSnUaUgXbSAwatz5hPbx83rwgdSm5C0ntWhzlhjafVjAl9eOn3sJ HXVeckTAtt/y8/VSnc6A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qKMy1-006siF-18; Fri, 14 Jul 2023 17:52:33 +0000 Received: from mail-il1-f173.google.com ([209.85.166.173]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qKMxr-006sYO-1C for linux-arm-kernel@lists.infradead.org; Fri, 14 Jul 2023 17:52:26 +0000 Received: by mail-il1-f173.google.com with SMTP id e9e14a558f8ab-3460815fde5so10395235ab.2 for ; Fri, 14 Jul 2023 10:52:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689357142; x=1691949142; 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=lJcWC43cD/9SsXEQvSrRqfi2CqM3UgGHs6NA6sVYd3Y=; b=Bch715mTdngl0Sjpz81nPfrBDy6lLj+jX8Zeg6uRZZtaQ+QVucxg6U34YLB6bc8409 VKSakZRJw2Nh3z2k3NFMBzXWFbs8coq4yMeHRzZq41zKAix8zEQAW2SjQDx/KywHxgLV 38Rw1f+eekYmb1BuXKD+Mp9vrnDlDFbUfApwq64FVoGnBvtMalHvk6xCfHpS01l1digB Y7puyl+8JtJWgl/WtXSeJ0Jx1qAfYcslmjhy58yzJ8ZUSVEFdW8j6NrhxPACQ+HpczDA VUKdfSsZgd/4rJFTUlD0qrCiIWi1i1diW/1Le5cvcso0zBy++F+7jfXDJJoOUtTKS6/n IXJA== X-Gm-Message-State: ABy/qLboYTqAuC9EDpcSwZiIoVcUZArKS4DwqKx2I0qr4ePRRLM2LN6q f46nH+NLQUAk8GS4UUSqsw== X-Google-Smtp-Source: APBJJlEDSAHCvIPQn6EAFq14AsVnsARyQ87BXXYqgfVFOKApVjQdRSvfB0lcuzOYGXdy+wmHg3B/nw== X-Received: by 2002:a92:d48e:0:b0:345:d583:5c64 with SMTP id p14-20020a92d48e000000b00345d5835c64mr5330603ilg.24.1689357142591; Fri, 14 Jul 2023 10:52:22 -0700 (PDT) Received: from robh_at_kernel.org ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id l18-20020a056638221200b0041d73d0a412sm2784361jas.19.2023.07.14.10.52.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jul 2023 10:52:21 -0700 (PDT) Received: (nullmailer pid 4068109 invoked by uid 1000); Fri, 14 Jul 2023 17:51:48 -0000 From: Rob Herring To: Krzysztof Kozlowski , Alim Akhtar Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] soc: samsung: Explicitly include correct DT includes Date: Fri, 14 Jul 2023 11:51:46 -0600 Message-Id: <20230714175147.4068046-1-robh@kernel.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230714_105223_450211_9D8DF7A3 X-CRM114-Status: GOOD ( 12.86 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 Acked-by: Alim Akhtar --- drivers/soc/samsung/exynos-chipid.c | 1 - drivers/soc/samsung/exynos-pmu.c | 2 +- drivers/soc/samsung/pm_domains.c | 3 ++- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/soc/samsung/exynos-chipid.c b/drivers/soc/samsung/exynos-chipid.c index 0fb3631e7346..7ba45c4aff97 100644 --- a/drivers/soc/samsung/exynos-chipid.c +++ b/drivers/soc/samsung/exynos-chipid.c @@ -17,7 +17,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/soc/samsung/exynos-pmu.c b/drivers/soc/samsung/exynos-pmu.c index 5b2664da9853..250537d7cfd6 100644 --- a/drivers/soc/samsung/exynos-pmu.c +++ b/drivers/soc/samsung/exynos-pmu.c @@ -7,9 +7,9 @@ #include #include -#include #include #include +#include #include #include diff --git a/drivers/soc/samsung/pm_domains.c b/drivers/soc/samsung/pm_domains.c index d07f3c9d6903..9b502e8751d1 100644 --- a/drivers/soc/samsung/pm_domains.c +++ b/drivers/soc/samsung/pm_domains.c @@ -11,11 +11,12 @@ #include #include +#include #include #include #include +#include #include -#include #include struct exynos_pm_domain_config {