linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] cpufreq: sti: add missing MODULE_DEVICE_TABLE entry for stih418
@ 2024-06-25 22:00 Raphael Gallais-Pou
  2024-06-26  2:32 ` Viresh Kumar
  0 siblings, 1 reply; 2+ messages in thread
From: Raphael Gallais-Pou @ 2024-06-25 22:00 UTC (permalink / raw)
  To: Patrice Chotard, 'Rafael J . Wysocki', Viresh Kumar
  Cc: linux-arm-kernel, linux-pm, linux-kernel

'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);
-- 
2.45.2



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

* Re: [PATCH] cpufreq: sti: add missing MODULE_DEVICE_TABLE entry for stih418
  2024-06-25 22:00 [PATCH] cpufreq: sti: add missing MODULE_DEVICE_TABLE entry for stih418 Raphael Gallais-Pou
@ 2024-06-26  2:32 ` Viresh Kumar
  0 siblings, 0 replies; 2+ messages in thread
From: Viresh Kumar @ 2024-06-26  2:32 UTC (permalink / raw)
  To: Raphael Gallais-Pou
  Cc: Patrice Chotard, 'Rafael J . Wysocki', linux-arm-kernel,
	linux-pm, linux-kernel

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.

-- 
viresh


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

end of thread, other threads:[~2024-06-26  2:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-25 22:00 [PATCH] cpufreq: sti: add missing MODULE_DEVICE_TABLE entry for stih418 Raphael Gallais-Pou
2024-06-26  2:32 ` Viresh Kumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).