aboutsummaryrefslogtreecommitdiff
path: root/include/linux/clocksource.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/clocksource.h')
-rw-r--r--include/linux/clocksource.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/clocksource.h b/include/linux/clocksource.h
index 1d500cf76a9f..9bee8b3488e9 100644
--- a/include/linux/clocksource.h
+++ b/include/linux/clocksource.h
@@ -361,12 +361,15 @@ static inline void clocksource_of_init(void) {}
#endif
#ifdef CONFIG_ACPI
+extern void clocksource_acpi_init(void);
+
#define CLOCKSOURCE_ACPI_DECLARE(name, compat, fn) \
static const struct acpi_device_id __clksrc_acpi_table_##name \
__used __section(__clksrc_acpi_table) \
= { .id = compat, \
.driver_data = (kernel_ulong_t)fn }
#else
+static inline void clocksource_acpi_init(void) { return; }
#define CLOCKSOURCE_ACPI_DECLARE(name, compat, fn)
#endif