summaryrefslogtreecommitdiff
path: root/include/linux/clocksource.h
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2017-05-26 19:33:27 +0300
committerDaniel Lezcano <daniel.lezcano@linaro.org>2017-06-14 13:00:33 +0300
commit2fcc112af37fa88f8da077d6dd3bb8e38e75adb1 (patch)
tree471c4780b9290b78671eacad0885ab8fe5db60f6 /include/linux/clocksource.h
parent77d62f532282010d5859a99819d6a0c233bfcfff (diff)
downloadlinux-2fcc112af37fa88f8da077d6dd3bb8e38e75adb1.tar.xz
clocksource/drivers: Rename clksrc table to timer
The table name is now renamed to 'timer' for consistency with the CLOCKSOURCE_OF_DECLARE => TIMER_OF_DECLARE change. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/clocksource.h')
-rw-r--r--include/linux/clocksource.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/clocksource.h b/include/linux/clocksource.h
index e43f37f9a1b6..7cd38b21cbd3 100644
--- a/include/linux/clocksource.h
+++ b/include/linux/clocksource.h
@@ -250,7 +250,7 @@ extern int clocksource_mmio_init(void __iomem *, const char *,
extern int clocksource_i8253_init(void);
#define TIMER_OF_DECLARE(name, compat, fn) \
- OF_DECLARE_1_RET(clksrc, name, compat, fn)
+ OF_DECLARE_1_RET(timer, name, compat, fn)
#ifdef CONFIG_CLKSRC_PROBE
extern void timer_probe(void);
@@ -259,6 +259,6 @@ static inline void timer_probe(void) {}
#endif
#define TIMER_ACPI_DECLARE(name, table_id, fn) \
- ACPI_DECLARE_PROBE_ENTRY(clksrc, name, table_id, 0, NULL, 0, fn)
+ ACPI_DECLARE_PROBE_ENTRY(timer, name, table_id, 0, NULL, 0, fn)
#endif /* _LINUX_CLOCKSOURCE_H */