Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2563824lqp; Mon, 25 Mar 2024 02:44:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUshJa/W9i968pE9XJdSjpFNhAdlBCSMP5W69Nx2hBHiyUeuJiJ//XUeL7fVXiwx34A0h6vFcVQfCBB1aqYHQTvmHzGielo8bRxlp895w== X-Google-Smtp-Source: AGHT+IEhOLuJoQCfxsu+4B9tCBWklFey0I/J1hGoNoY50n/i8AOv8UWYXDQIc0VH9n7rHVLEtm/5 X-Received: by 2002:a05:6a20:9f9a:b0:1a3:c9f2:1542 with SMTP id mm26-20020a056a209f9a00b001a3c9f21542mr2054679pzb.23.1711359885970; Mon, 25 Mar 2024 02:44:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711359885; cv=pass; d=google.com; s=arc-20160816; b=tBOxY6XYgVf4Ek8PnffTyMhXTewMe9S5GtncyDElmq1aesPR3LXZaFESuBD5nFEFXU 6wuw3bxzcJ2RKyzzxv/tVoC72Vj2pxrgT1A5psEshTw3mdWu129FkBfbMCjCF7FXySXF itRmiIXMPoZe5A+cDkBd8HAUOrSo3uYEb2JtPv/A1elifc2bf4Sxkf7f1OrK53HjqcBl LaqIPUlAWKp1XGDoOQqM7sTozFFHggUa2mY9dg2EtT1GQGD+Ct9X8kds2PULW2FnQCkV LlnxCGRSt8E8UEr2uKu9eb7I44OqDrjyjQljXhA8AGL9tcf9rHs4YkHXLr+5fEyFtyN1 LibA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=kCUJIdAXI5cEefsopqfls2xAx2kki3VoY7GSQqN7sLE=; fh=YTPwoTYwWgegL7GsoZcgVyI/JfPjxrFSO6bSz0d8kf0=; b=QFANfr9QBPNCH5EDKuUXrVhdj0qaJ4GxFg/bJWYu8z5RlAgZIwjhoE6EeHv1rgMWi2 R3JzuCdG4n299iYyAVCHLnYfKd1Uvuq/Jjisf9CY99Sw3wDq/KaOLo2qZCzUJ6uzS0Ds FO102WR+y0QZbGuqgS+jCwjVsJv9v/dSpmbPDhqUEsVuGYt1dukGGqVxrKkztOB8WeP9 9+IRPPdB7OUtm+Jtq2dRDjywGeWZDFHUgGTXvpg1AEb0XroDIA5clKMLTcmQSu7sMV1F Xli3vdqwoWplQDpLvnhwYLSmn6jEZVHAiIh0/ShZFhWFshnyXlvN4r7pjWWrYfQhAuTM n5FQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pi1FAxfo; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-115859-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-115859-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id w14-20020a63fb4e000000b005ce0474353csi7082822pgj.238.2024.03.25.02.44.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 02:44:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-115859-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pi1FAxfo; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-115859-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-115859-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 028F52A2B48 for ; Mon, 25 Mar 2024 09:36:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1A970158A0E; Mon, 25 Mar 2024 03:02:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="pi1FAxfo" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0313012EBF0; Sun, 24 Mar 2024 23:13:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711322024; cv=none; b=jqdHuhqIXCsRsXqTMWpj7f0pD3QkIU44+HWxpU5JWJYOvW6S4zS4esvutt9kPa+Iu+nE4p57K2l9FbcnXBzaTKIjFKDoHeMbMxazeaDiBr+lhYNPsWU9SMPV9RDnQBznj61K+IJ9RyClAzdpxQ4tvDLneDOP9XP/EJ3YYocMAs4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711322024; c=relaxed/simple; bh=c/CyEIJllUPjHqlbq9wDkzDuj6vhPeDRipxiYEF0RWM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=si1da4Ys9TjpE0JIzZ+fnicf5O6jzXSAW4LYWk1uVlBTFOBtYHNZxkPOWgeK45jUHX7Gre79DuWUMK4IApHQ+yq/q2pLYiE3wL9FKokRpTZg2qM9HCfKHjXQ0eQ1DpMMVHv8LbEYfQdMvhBlOxqj+X+1NHmxbj0Mx6rJ5RIpmfA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=pi1FAxfo; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 29DCDC43394; Sun, 24 Mar 2024 23:13:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711322023; bh=c/CyEIJllUPjHqlbq9wDkzDuj6vhPeDRipxiYEF0RWM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pi1FAxfolnoCWnpcnU452f5skcbHConl797bU59eqqL46+1DT21BNAxV8s/zU+VDv TnGo8QCnEEdfcioOOsRBT0Mpk72k8mlGTmtufUfbCklHapNq8YcwhXfpj2a6Rs+pOx LAvII3txYA40LmBnNXBI5tZSG9phUakQ0ON9YYMo0h1SXAumeB9rQNk10ibMoI1RIw 561nCf/b94FRfb3JOgq59bouiYbUjKtdyeFz7S3aJ1kQDyno6pj1yuFC/PL/8S7AH/ QFMQf5YipEsNzuWICN4BBhaYLp5JLqorjOjS/P0x3W/IQn4Vxcw01uGUF48g5oY5j6 0OlZBczbHPxlQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Rob Herring , "Rafael J . Wysocki" , Viresh Kumar , Sasha Levin Subject: [PATCH 6.1 096/451] cpufreq: Explicitly include correct DT includes Date: Sun, 24 Mar 2024 19:06:12 -0400 Message-ID: <20240324231207.1351418-97-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324231207.1351418-1-sashal@kernel.org> References: <20240324231207.1351418-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit From: Rob Herring [ Upstream commit a70eb93a2477371638ef481aaae7bb7b760d3004 ] 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: Rafael J. Wysocki Signed-off-by: Viresh Kumar Stable-dep-of: 788715b5f21c ("cpufreq: mediatek-hw: Wait for CPU supplies before probing") Signed-off-by: Sasha Levin --- drivers/cpufreq/armada-37xx-cpufreq.c | 4 +--- drivers/cpufreq/mediatek-cpufreq-hw.c | 3 ++- drivers/cpufreq/ppc_cbe_cpufreq.c | 2 +- drivers/cpufreq/ppc_cbe_cpufreq_pmi.c | 1 - drivers/cpufreq/qcom-cpufreq-nvmem.c | 1 - drivers/cpufreq/scpi-cpufreq.c | 2 +- drivers/cpufreq/sti-cpufreq.c | 2 +- drivers/cpufreq/ti-cpufreq.c | 2 +- drivers/cpufreq/vexpress-spc-cpufreq.c | 1 - 9 files changed, 7 insertions(+), 11 deletions(-) diff --git a/drivers/cpufreq/armada-37xx-cpufreq.c b/drivers/cpufreq/armada-37xx-cpufreq.c index b74289a95a171..bea41ccabf1f0 100644 --- a/drivers/cpufreq/armada-37xx-cpufreq.c +++ b/drivers/cpufreq/armada-37xx-cpufreq.c @@ -14,10 +14,8 @@ #include #include #include +#include #include -#include -#include -#include #include #include #include diff --git a/drivers/cpufreq/mediatek-cpufreq-hw.c b/drivers/cpufreq/mediatek-cpufreq-hw.c index f0e0a35c7f217..212bbca8daf32 100644 --- a/drivers/cpufreq/mediatek-cpufreq-hw.c +++ b/drivers/cpufreq/mediatek-cpufreq-hw.c @@ -10,8 +10,9 @@ #include #include #include -#include +#include #include +#include #include #define LUT_MAX_ENTRIES 32U diff --git a/drivers/cpufreq/ppc_cbe_cpufreq.c b/drivers/cpufreq/ppc_cbe_cpufreq.c index e3313ce63b388..88afc49941b71 100644 --- a/drivers/cpufreq/ppc_cbe_cpufreq.c +++ b/drivers/cpufreq/ppc_cbe_cpufreq.c @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include diff --git a/drivers/cpufreq/ppc_cbe_cpufreq_pmi.c b/drivers/cpufreq/ppc_cbe_cpufreq_pmi.c index 4fba3637b115c..6f0c32592416d 100644 --- a/drivers/cpufreq/ppc_cbe_cpufreq_pmi.c +++ b/drivers/cpufreq/ppc_cbe_cpufreq_pmi.c @@ -11,7 +11,6 @@ #include #include #include -#include #include #include diff --git a/drivers/cpufreq/qcom-cpufreq-nvmem.c b/drivers/cpufreq/qcom-cpufreq-nvmem.c index a577586b23be2..cb03bfb0435ea 100644 --- a/drivers/cpufreq/qcom-cpufreq-nvmem.c +++ b/drivers/cpufreq/qcom-cpufreq-nvmem.c @@ -22,7 +22,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/cpufreq/scpi-cpufreq.c b/drivers/cpufreq/scpi-cpufreq.c index fd2c16821d54c..ac719aca49b75 100644 --- a/drivers/cpufreq/scpi-cpufreq.c +++ b/drivers/cpufreq/scpi-cpufreq.c @@ -14,7 +14,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/drivers/cpufreq/sti-cpufreq.c b/drivers/cpufreq/sti-cpufreq.c index 1a63aeea87112..9c542e723a157 100644 --- a/drivers/cpufreq/sti-cpufreq.c +++ b/drivers/cpufreq/sti-cpufreq.c @@ -13,7 +13,7 @@ #include #include #include -#include +#include #include #include diff --git a/drivers/cpufreq/ti-cpufreq.c b/drivers/cpufreq/ti-cpufreq.c index f64180dd2005b..61ef653bcf56f 100644 --- a/drivers/cpufreq/ti-cpufreq.c +++ b/drivers/cpufreq/ti-cpufreq.c @@ -12,7 +12,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/drivers/cpufreq/vexpress-spc-cpufreq.c b/drivers/cpufreq/vexpress-spc-cpufreq.c index d295f405c4bb0..865e501648034 100644 --- a/drivers/cpufreq/vexpress-spc-cpufreq.c +++ b/drivers/cpufreq/vexpress-spc-cpufreq.c @@ -18,7 +18,6 @@ #include #include #include -#include #include #include #include -- 2.43.0