Skip to content
Commit 0465fb49 authored by Noam Camus's avatar Noam Camus Committed by Vineet Gupta
Browse files

clocksource: update "fn" at CLOCKSOURCE_OF_DECLARE() of nps400 timer



nps_setup_clocksource() should take node as only argument as defined by
typedef int (*of_init_fn_1_ret)(struct device_node *)

Therefore need to replace:
int __init nps_setup_clocksource(struct device_node *node, struct clk *clk)
with
int __init nps_setup_clocksource(struct device_node *node)

This patch also serve as preparation for next patch which add support
for clockevents to nps400.
Specifically we add new function nps_get_timer_clk() to serve clocksource
and later clockevent registration.

Signed-off-by: default avatarNoam Camus <noamca@mellanox.com>
Acked-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
parent 09dcd195
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment