projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6161aa
)
clocksource: add empty version of clocksource_of_init
author
Rob Herring
<rob.herring@calxeda.com>
Mon, 11 Mar 2013 02:52:53 +0000
(21:52 -0500)
committer
Rob Herring
<rob.herring@calxeda.com>
Mon, 11 Mar 2013 13:40:12 +0000
(08:40 -0500)
Add an empty clocksource_of_init when !CLKSRC_OF. This is needed for builds
where no timer has selected CLKSRC_OF.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
include/linux/clocksource.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/clocksource.h
b/include/linux/clocksource.h
index 27cfda427dd9106b15af57c3ad4825445a4b8feb..08ed5e19d8c68024c64636c494635c54acf4809b 100644
(file)
--- a/
include/linux/clocksource.h
+++ b/
include/linux/clocksource.h
@@
-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