Skip to contentSkip to conversation

cpufreq: sti: add missing MODULE_DEVICE_TABLE entry for stih418

PATCH Applied Raphael Gallais-Pou 2 participants 2 messages Jun 25, 2024 – Jun 26, 2024

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

PATCH 1/1 cpufreq: sti: add missing MODULE_DEVICE_TABLE entry for stih418

'st,stih418' is missing in the compatible list. Add it in order to use the driver with stih418 platform.

---
 drivers/cpufreq/sti-cpufreq.c | 1 +
 1 file changed, 1 insertion(+)
drivers/cpufreq/sti-cpufreq.c +1 -0
index 9c542e723a15..1ffa23dd8907 100644
@@ -293,6 +293,7 @@ module_init(sti_cpufreq_init);
 static const struct of_device_id __maybe_unused sti_cpufreq_of_match[] = {
 	{ .compatible = "st,stih407" },
 	{ .compatible = "st,stih410" },
+	{ .compatible = "st,stih418" },
 	{ },
 };
 MODULE_DEVICE_TABLE(of, sti_cpufreq_of_match);
Signature · 1 line
2.45.2
maintainer Applied
#1 lore raw
Quoted 13 lines · Raphael Gallais-Pou

'st,stih418' is missing in the compatible list. Add it in order to use the driver with stih418 platform.

---
 drivers/cpufreq/sti-cpufreq.c | 1 +
 1 file changed, 1 insertion(+)
drivers/cpufreq/sti-cpufreq.c +0 -0
index 9c542e723a15..1ffa23dd8907 100644

drivers/cpufreq/sti-cpufreq.c module_init(sti_cpufreq_init); · line 299

Quoted 7 lines
drivers/cpufreq/sti-cpufreq.c +1 -0
@@ -293,6 +293,7 @@ module_init(sti_cpufreq_init);
 static const struct of_device_id __maybe_unused sti_cpufreq_of_match[] = {
 	{ .compatible = "st,stih407" },
 	{ .compatible = "st,stih410" },
+	{ .compatible = "st,stih418" },
 	{ },
 };
 MODULE_DEVICE_TABLE(of, sti_cpufreq_of_match);

Applied. Thanks.

Signature · 1 line
viresh