diff mbox

[3/4] clocksource: owl: Prepare S700

Message ID 20170911022241.11603-4-afaerber@suse.de (mailing list archive)
State New, archived
Headers show

Commit Message

Andreas Färber Sept. 11, 2017, 2:22 a.m. UTC
S700 has two 2Hz timers like S500, and four TIMx timers like S900.

Signed-off-by: Andreas Färber <afaerber@suse.de>
---
 drivers/clocksource/owl-timer.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Daniel Lezcano Sept. 18, 2017, 9:52 p.m. UTC | #1
On 11/09/2017 04:22, Andreas Färber wrote:
> S700 has two 2Hz timers like S500, and four TIMx timers like S900.
> 
> Signed-off-by: Andreas Färber <afaerber@suse.de>
> ---
>  drivers/clocksource/owl-timer.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/clocksource/owl-timer.c b/drivers/clocksource/owl-timer.c
> index d19c53c11094..d5f3f72c10ee 100644
> --- a/drivers/clocksource/owl-timer.c
> +++ b/drivers/clocksource/owl-timer.c
> @@ -169,4 +169,5 @@ static int __init owl_timer_init(struct device_node *node)
>  	return 0;
>  }
>  CLOCKSOURCE_OF_DECLARE(owl_s500, "actions,s500-timer", owl_timer_init);
> +CLOCKSOURCE_OF_DECLARE(owl_s700, "actions,s700-timer", owl_timer_init);
>  CLOCKSOURCE_OF_DECLARE(owl_s900, "actions,s900-timer", owl_timer_init);

Can you take the opportunity to fix the deprecated
CLOCKSOURCE_OF_DECLARE by replacing it by TIMER_OF_DECLARE ?

Thanks.

  -- Daniel
diff mbox

Patch

diff --git a/drivers/clocksource/owl-timer.c b/drivers/clocksource/owl-timer.c
index d19c53c11094..d5f3f72c10ee 100644
--- a/drivers/clocksource/owl-timer.c
+++ b/drivers/clocksource/owl-timer.c
@@ -169,4 +169,5 @@  static int __init owl_timer_init(struct device_node *node)
 	return 0;
 }
 CLOCKSOURCE_OF_DECLARE(owl_s500, "actions,s500-timer", owl_timer_init);
+CLOCKSOURCE_OF_DECLARE(owl_s700, "actions,s700-timer", owl_timer_init);
 CLOCKSOURCE_OF_DECLARE(owl_s900, "actions,s900-timer", owl_timer_init);