Skip to contentSkip to conversation

rust: rcpufreq_dt: add module alias

PATCH Applied Frank Zhang 2 participants 2 messages Sep 4

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rust: rcpufreq_dt: add module alias

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")
drivers/cpufreq/rcpufreq_dt.rs +1 -0
index 10106fa13095..32a508d82f68 100644
@@ -219,4 +219,5 @@ fn probe<'bound>(
     authors: ["Viresh Kumar <[email protected]>"],
     description: "Generic CPUFreq DT driver",
     license: "GPL v2",
+    alias: ["platform:cpufreq-dt"],
 }
Signature · 1 line
2.55.0
maintainer Applied
#1 lore raw
Quoted 12 lines · Frank Zhang

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")
drivers/cpufreq/rcpufreq_dt.rs +0 -0
index 10106fa13095..32a508d82f68 100644

drivers/cpufreq/rcpufreq_dt.rs fn probe<'bound>( · line 223

Quoted 5 lines
drivers/cpufreq/rcpufreq_dt.rs +1 -0
@@ -219,4 +219,5 @@ fn probe<'bound>(
     authors: ["Viresh Kumar <[email protected]>"],
     description: "Generic CPUFreq DT driver",
     license: "GPL v2",
+    alias: ["platform:cpufreq-dt"],
 }

Applied. Thanks.

Signature · 1 line
viresh