rust: rcpufreq_dt: add module alias
Subsystems (2)
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")
Signed-off-by Frank Zhang <[email protected]>
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"], }
Signature · 1 line
2.55.0
Quoted 12 lines · Frank Zhang
Add the missing
platform:cpufreq-dtmodule alias so that the driver can be automatically loaded when the platform device is registered.Fixes 06149d8f2216 ("cpufreq: Add Rust-based cpufreq-dt driver")Signed-off-by Frank Zhang <[email protected]>drivers/cpufreq/rcpufreq_dt.rs +0
-0
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