diff options
author | Noam Camus <noamca@mellanox.com> | 2016-11-16 08:31:12 +0200 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2016-11-30 11:54:25 -0800 |
commit | 0465fb495f9c9698de08ff103905008e5f38e8f1 (patch) | |
tree | 02ba9ebf43ce8e4140bd2d625f0817f71e2fe743 /net/sched/act_api.c | |
parent | 09dcd1958be42ea473fef24a2c02d975f520ea71 (diff) |
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: Noam Camus <noamca@mellanox.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'net/sched/act_api.c')
0 files changed, 0 insertions, 0 deletions