clocksource/drivers: Rename CLOCKSOURCE_ACPI_DECLARE to TIMER_ACPI_DECLARE
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 26 May 2017 15:42:25 +0000 (17:42 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 14 Jun 2017 09:59:53 +0000 (11:59 +0200)
The macro name is now renamed to 'TIMER_ACPI_DECLARE' 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>
drivers/clocksource/arm_arch_timer.c
include/linux/clocksource.h

index bc60cd78698ee8c70b6ce47e89068adbdd39f32e..a89d41cff915c2608cabb1d88899c34c75228b06 100644 (file)
@@ -1516,5 +1516,5 @@ static int __init arch_timer_acpi_init(struct acpi_table_header *table)
 
        return arch_timer_common_init();
 }
-CLOCKSOURCE_ACPI_DECLARE(arch_timer, ACPI_SIG_GTDT, arch_timer_acpi_init);
+TIMER_ACPI_DECLARE(arch_timer, ACPI_SIG_GTDT, arch_timer_acpi_init);
 #endif
index 010bb9f60db29ec8ab20bcc5177be4961d8a8ac5..e43f37f9a1b6f0338bc20663c6fa0a5c0a314390 100644 (file)
@@ -258,7 +258,7 @@ extern void timer_probe(void);
 static inline void timer_probe(void) {}
 #endif
 
-#define CLOCKSOURCE_ACPI_DECLARE(name, table_id, fn)           \
+#define TIMER_ACPI_DECLARE(name, table_id, fn)         \
        ACPI_DECLARE_PROBE_ENTRY(clksrc, name, table_id, 0, NULL, 0, fn)
 
 #endif /* _LINUX_CLOCKSOURCE_H */