[PATCH 3/4] clocksource: owl: Prepare S700

Daniel Lezcano daniel.lezcano at linaro.org
Mon Sep 18 14:52:07 PDT 2017


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 at 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


-- 
 <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog




More information about the linux-arm-kernel mailing list