clocksource: add empty version of clocksource_of_init
[firefly-linux-kernel-4.4.55.git] / include / linux / clocksource.h
index 27cfda427dd9106b15af57c3ad4825445a4b8feb..08ed5e19d8c68024c64636c494635c54acf4809b 100644 (file)
@@ -340,6 +340,7 @@ extern void clocksource_of_init(void);
                __used __section(__clksrc_of_table)                     \
                 = { .compatible = compat, .data = fn };
 #else
+static inline void clocksource_of_init(void) {}
 #define CLOCKSOURCE_OF_DECLARE(name, compat, fn)
 #endif