Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2528832lqp; Mon, 25 Mar 2024 01:15:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCULPEnCSEJx7hz1KAFDBrS64tN4j+C8rrhnnljU92YZ6X/W8pJTC9kOeFOHPjO7MDpYTXIylUZu5W6vdiPnpjoLgaHRk+JcHlKnKVWh8A== X-Google-Smtp-Source: AGHT+IGuPieH3HkwiRHgfSLOTK1/TzgsnCd4f0hH4XbNtU0qD9zBvLn2Ll4qrhzXF6pL/y9+v2cJ X-Received: by 2002:a05:6a20:8424:b0:1a3:bd98:c4af with SMTP id c36-20020a056a20842400b001a3bd98c4afmr4143981pzd.48.1711354529000; Mon, 25 Mar 2024 01:15:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711354528; cv=pass; d=google.com; s=arc-20160816; b=pXlfOiI92usnyYLDqhZ0tIoHCTedsXOkOHF3/ovUOzX2XfarX3ibyRedoCcP6XSCNy AfUz0+PfhVgXlepo74yMTJ6hXOsWpVGMFkcpjFXF+M4aFZV7F0jlYdVdeDnPsk836rlE 7PPjmP67C/Qbr4SpOXztzOt/gRZS2TKihLlrxa8xZ05hBbLVyNWsPlw3L7TKXWLIA67Z UDDGJzOgTYFcVA78hUCySZS+5VFAqSblbWK0325g1pDxm2B0q9tc+55npEn1seDkX3g2 cGZp6UZCSu5TnTc0Q37l+dpR809jkWQ+8vEQ1Pl40oRyn58GsdS4cYYq/eYBGqmxLzc8 7OKg== 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=grCHoYmY5KzYwAYXMiDyfGBX6f/eM4SdJzg0PNsl6Gk=; fh=YTPwoTYwWgegL7GsoZcgVyI/JfPjxrFSO6bSz0d8kf0=; b=koDzsCG98umUA0KL3FTF4AFSGhg0ljdmvSCPZfaTRQF7c5HzJr+zkKiGQmFgoTvFeA 4kvvZtbbmpBjfWZuTRiZ6MXHHk4EKq5w7QZYbwfcDu3g+mlyIAZDx2l9ItgdBposluOV RyyR+YXYtOrW/BU4aDMAXOicSFR3K6HnZDlMyNBPiGdPOLP59JG6asNJ7p5wNFuQbyC3 dcv30SW2Rq/Zjrlu8B6Leo/mlLPG4fNx17Qwt2XXIST5sOdiQ07XVcmrtLkD0BBHf6iw xwz4YYOOrCdaTapbJ/EffBjQ6HJdUVZR3NhNkrCYzibKXpe7F1JP44brt8PKbmXnP7Xs EWRA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WaT0fVCf; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-116020-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-116020-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. [139.178.88.99]) by mx.google.com with ESMTPS id d16-20020a17090ac25000b0029a1aaefe30si7059022pjx.188.2024.03.25.01.15.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 01:15:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-116020-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WaT0fVCf; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-116020-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-116020-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 A9871296D53 for ; Mon, 25 Mar 2024 08:15:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E1C3D17DC26; Mon, 25 Mar 2024 03:27:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="WaT0fVCf" 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 476A027550D; Sun, 24 Mar 2024 23:36:02 +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=1711323362; cv=none; b=OeJG8BGW/lwZcX+KfwIJ2l+JAZC3ktj8uBNIk4GP7BsMXxfCHJp+xiZ8eX0BaSMe3TQyeGb3ULmZPGzeWVcUKHUR7qrZ8HYJ6gTmTerQ/83ucaAJFuFYA3JILGNd1hygse1QUvvWxUDGSd03/07U6KmBzeWKBV+Ys07VJwF3qDA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711323362; c=relaxed/simple; bh=dXw/GUG7J5HCW2qalxp3eZ8ma51egnwp+1yt6yCWkXQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=NYGOe0/p2it+N21WD2eY1iVZIYFuOcaS0t6kU5TxZiGN0nF0beR5y/+fwgMeEQfHWWp+AJCJSh12vsETT5a8dgaI/HP92ybitDKXZQuOnCYCXVhl3Djqh7Q9rOFfU8C/0agrF/BWCyZZ5bBAcNAVTDTJBuxUV7Ruk9+xUyaR3BY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=WaT0fVCf; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 68DC1C43399; Sun, 24 Mar 2024 23:36:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711323362; bh=dXw/GUG7J5HCW2qalxp3eZ8ma51egnwp+1yt6yCWkXQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WaT0fVCf6oeNrWgCTA42B8W9/Uwn52KANgtqmm56MifGTHXlIk3wylICMEwLY7oQq +DJpprBaVN7JXiXSOKZ8c+zVIjAJ31lGMAdgVbNfvjIQPt3IhYHU+RYBrul6bpFI7l 2ZEen6bex1Be23wyucndxi1R/yq57waTBRl6cmOzDFl4yiYk62f7uEqB4cfWNJowzL aSvDvArabQ3iSdwoW6kg6Oa6IoniE3Tz4VG1cXOzv9kX2zqnS9tnmLevYzlS5aq9J7 FcC6J2LJk9uO5Oz/QOns/syBO+yzQrovfi8EJ8AyzRmwZWw7FjL81X1LXVwdfJGnHN 6wf/raKuuz/AA== 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 5.15 062/317] cpufreq: Explicitly include correct DT includes Date: Sun, 24 Mar 2024 19:30:42 -0400 Message-ID: <20240324233458.1352854-63-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324233458.1352854-1-sashal@kernel.org> References: <20240324233458.1352854-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 0cf18dd46b923..8a4e52b22eed7 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 c58abb4cca3a2..acaa8db57812d 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 037fe23bc6ed0..e85fa0f41991c 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 6e011e8bfb6a9..63fc879e23096 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 bda3e7d429647..763692e327b18 100644 --- a/drivers/cpufreq/scpi-cpufreq.c +++ b/drivers/cpufreq/scpi-cpufreq.c @@ -22,7 +22,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/drivers/cpufreq/sti-cpufreq.c b/drivers/cpufreq/sti-cpufreq.c index fdb0a722d8812..f1cde44670689 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 8f9fdd864391a..88bffa0bd0139 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