summaryrefslogtreecommitdiff
path: root/drivers/clocksource/timer-of.h
diff options
context:
space:
mode:
authorBenjamin Gaignard <benjamin.gaignard@linaro.org>2017-10-23 11:58:37 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2017-10-29 19:05:49 +0100
commitf48729a999ee57b9e831245779e68200dd2bde09 (patch)
tree2bf773cdd0a33892ba33890e968d927e97fb65c6 /drivers/clocksource/timer-of.h
parentf16ff2bdb135e2eb35488264006b575c476ea597 (diff)
clocksource/drivers/timer-of: Add timer_of_exit function
The timer-of API does not provide a function to undo what has been done by the timer_of_init() function. Add a timer_of_exit() function. Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/clocksource/timer-of.h')
-rw-r--r--drivers/clocksource/timer-of.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/clocksource/timer-of.h b/drivers/clocksource/timer-of.h
index e0d727255f72..44f57e02725d 100644
--- a/drivers/clocksource/timer-of.h
+++ b/drivers/clocksource/timer-of.h
@@ -66,4 +66,7 @@ static inline unsigned long timer_of_period(struct timer_of *to)
extern int __init timer_of_init(struct device_node *np,
struct timer_of *to);
+
+extern void timer_of_exit(struct timer_of *to);
+
#endif