mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] rust: rcpufreq_dt: add module alias
@ 2026-09-04  7:56 Frank Zhang
  2026-09-04  8:02 ` Viresh Kumar
  0 siblings, 1 reply; 2+ messages in thread
From: Frank Zhang @ 2026-09-04  7:56 UTC (permalink / raw)
  To: Rafael J . Wysocki, Viresh Kumar; +Cc: linux-pm, linux-kernel, stable

Add the missing `platform:cpufreq-dt` module alias so that the driver
can be automatically loaded when the platform device is registered.

Fixes: 06149d8f2216 ("cpufreq: Add Rust-based cpufreq-dt driver")
Cc: stable@vger.kernel.org
Signed-off-by: Frank Zhang <rmxpzlb@gmail.com>

diff --git a/drivers/cpufreq/rcpufreq_dt.rs b/drivers/cpufreq/rcpufreq_dt.rs
index 10106fa13095..32a508d82f68 100644
--- a/drivers/cpufreq/rcpufreq_dt.rs
+++ b/drivers/cpufreq/rcpufreq_dt.rs
@@ -219,4 +219,5 @@ fn probe<'bound>(
     authors: ["Viresh Kumar <viresh.kumar@linaro.org>"],
     description: "Generic CPUFreq DT driver",
     license: "GPL v2",
+    alias: ["platform:cpufreq-dt"],
 }
-- 
2.55.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] rust: rcpufreq_dt: add module alias
  2026-09-04  7:56 [PATCH] rust: rcpufreq_dt: add module alias Frank Zhang
@ 2026-09-04  8:02 ` Viresh Kumar
  0 siblings, 0 replies; 2+ messages in thread
From: Viresh Kumar @ 2026-09-04  8:02 UTC (permalink / raw)
  To: Frank Zhang; +Cc: Rafael J . Wysocki, linux-pm, linux-kernel, stable

On 04-09-26, 15:56, Frank Zhang wrote:
> Add the missing `platform:cpufreq-dt` module alias so that the driver
> can be automatically loaded when the platform device is registered.
> 
> Fixes: 06149d8f2216 ("cpufreq: Add Rust-based cpufreq-dt driver")
> Cc: stable@vger.kernel.org
> Signed-off-by: Frank Zhang <rmxpzlb@gmail.com>
> 
> diff --git a/drivers/cpufreq/rcpufreq_dt.rs b/drivers/cpufreq/rcpufreq_dt.rs
> index 10106fa13095..32a508d82f68 100644
> --- a/drivers/cpufreq/rcpufreq_dt.rs
> +++ b/drivers/cpufreq/rcpufreq_dt.rs
> @@ -219,4 +219,5 @@ fn probe<'bound>(
>      authors: ["Viresh Kumar <viresh.kumar@linaro.org>"],
>      description: "Generic CPUFreq DT driver",
>      license: "GPL v2",
> +    alias: ["platform:cpufreq-dt"],
>  }

Applied. Thanks.

-- 
viresh

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-04  8:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-04  7:56 [PATCH] rust: rcpufreq_dt: add module alias Frank Zhang
2026-09-04  8:02 ` Viresh Kumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®