diff mbox series

cpufreq: sti: add missing MODULE_DEVICE_TABLE entry for stih418

Message ID 20240625220056.111913-1-rgallaispou@gmail.com (mailing list archive)
State New, archived
Headers show
Series cpufreq: sti: add missing MODULE_DEVICE_TABLE entry for stih418 | expand

Commit Message

Raphael Gallais-Pou June 25, 2024, 10 p.m. UTC
'st,stih418' is missing in the compatible list.
Add it in order to use the driver with stih418 platform.

Signed-off-by: Raphael Gallais-Pou <rgallaispou@gmail.com>
---
 drivers/cpufreq/sti-cpufreq.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Viresh Kumar June 26, 2024, 2:32 a.m. UTC | #1
On 26-06-24, 00:00, Raphael Gallais-Pou wrote:
> 'st,stih418' is missing in the compatible list.
> Add it in order to use the driver with stih418 platform.
> 
> Signed-off-by: Raphael Gallais-Pou <rgallaispou@gmail.com>
> ---
>  drivers/cpufreq/sti-cpufreq.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/cpufreq/sti-cpufreq.c b/drivers/cpufreq/sti-cpufreq.c
> index 9c542e723a15..1ffa23dd8907 100644
> --- a/drivers/cpufreq/sti-cpufreq.c
> +++ b/drivers/cpufreq/sti-cpufreq.c
> @@ -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.
diff mbox series

Patch

diff --git a/drivers/cpufreq/sti-cpufreq.c b/drivers/cpufreq/sti-cpufreq.c
index 9c542e723a15..1ffa23dd8907 100644
--- a/drivers/cpufreq/sti-cpufreq.c
+++ b/drivers/cpufreq/sti-cpufreq.c
@@ -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);