projects
/
GitHub
/
moto-9609
/
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:
177cf6e
)
clk: Add missing clk_get_sys() stub
author
Daniel Lezcano
<daniel.lezcano@linaro.org>
Thu, 2 Jun 2016 20:44:49 +0000
(22:44 +0200)
committer
Daniel Lezcano
<daniel.lezcano@linaro.org>
Tue, 28 Jun 2016 08:22:02 +0000
(10:22 +0200)
When compiling with the COMPILE_TEST option set, the clps711x does not
compile because of the clk_get_sys() noop stub missing.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Michael Turquette <mturquette@baylibre.com>
include/linux/clk.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/clk.h
b/include/linux/clk.h
index 0df4a51e1a78d2bd74ac899c655bce9659ea50da..834179f3fa72a4508509f0a3991385f63cfed417 100644
(file)
--- a/
include/linux/clk.h
+++ b/
include/linux/clk.h
@@
-461,6
+461,10
@@
static inline struct clk *clk_get_parent(struct clk *clk)
return NULL;
}
+static inline struct clk *clk_get_sys(const char *dev_id, const char *con_id)
+{
+ return NULL;
+}
#endif
/* clk_prepare_enable helps cases using clk_enable in non-atomic context. */