diff mbox series

[v2,3/8] clocksource: owl: Adopt TIMER_OF_DECLARE()

Message ID 20171113233427.5386-4-afaerber@suse.de
State Accepted
Commit f58639ac29d9fea7c54afca3c8c03596eafbec20
Headers show
Series arm64: Add initial Actions Semi S700 and CubieBoard7 support | expand

Commit Message

Andreas Färber Nov. 13, 2017, 11:34 p.m. UTC
Commit 1727339590fdb5a1ded881b540cd32121278d414 ("clocksource/drivers:
Rename CLOCKSOURCE_OF_DECLARE to TIMER_OF_DECLARE") deprecated
CLOCKSOURCE_OF_DECLARE(), so adopt the new macro TIMER_OF_DECLARE().

Reported-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Andreas Färber <afaerber@suse.de>

---
 v2: New (Daniel)
 
 drivers/clocksource/owl-timer.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.13.6

Comments

Daniel Lezcano Dec. 7, 2017, 1:15 p.m. UTC | #1
On 14/11/2017 00:34, Andreas Färber wrote:
> Commit 1727339590fdb5a1ded881b540cd32121278d414 ("clocksource/drivers:

> Rename CLOCKSOURCE_OF_DECLARE to TIMER_OF_DECLARE") deprecated

> CLOCKSOURCE_OF_DECLARE(), so adopt the new macro TIMER_OF_DECLARE().

> 

> Reported-by: Daniel Lezcano <daniel.lezcano@linaro.org>

> Signed-off-by: Andreas Färber <afaerber@suse.de>

> ---


Applied for 4.16


-- 
 <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
diff mbox series

Patch

diff --git a/drivers/clocksource/owl-timer.c b/drivers/clocksource/owl-timer.c
index c68630565079..9fb4333cfb8a 100644
--- a/drivers/clocksource/owl-timer.c
+++ b/drivers/clocksource/owl-timer.c
@@ -168,5 +168,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_s900, "actions,s900-timer", owl_timer_init);
+TIMER_OF_DECLARE(owl_s500, "actions,s500-timer", owl_timer_init);
+TIMER_OF_DECLARE(owl_s900, "actions,s900-timer", owl_timer_init);