Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1412572

[PATCH 1/6] clk: Add missing clk_get_sys() stub

From Daniel Lezcano <daniel.lezcano@linaro.org>
Newsgroups linux.kernel
Subject [PATCH 1/6] clk: Add missing clk_get_sys() stub
Date 2016-06-02 23:50 +0200
Message-ID <rFIF3-2WQ-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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>
---
 include/linux/clk.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/linux/clk.h b/include/linux/clk.h
index 0df4a51..834179f 100644
--- 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. */
-- 
1.9.1

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 1/6] clk: Add missing clk_get_sys() stub Daniel Lezcano <daniel.lezcano@linaro.org> - 2016-06-02 23:50 +0200
  [PATCH 2/6] clocksource/drivers/bcm_kona: Remove useless header <asm/mach/time.h> Daniel Lezcano <daniel.lezcano@linaro.org> - 2016-06-02 23:50 +0200
  [PATCH 4/6] clocksource/drivers/armv7m_systick: Add the COMPILE_TEST option Daniel Lezcano <daniel.lezcano@linaro.org> - 2016-06-02 23:50 +0200
    Re: [PATCH 4/6] clocksource/drivers/armv7m_systick: Add the  COMPILE_TEST option kbuild test robot <lkp@intel.com> - 2016-06-03 07:20 +0200
  [PATCH 6/6] clocksource/drivers/clps_711x: Add the COMPILE_TEST option Daniel Lezcano <daniel.lezcano@linaro.org> - 2016-06-02 23:50 +0200
  Re: [PATCH 1/6] clk: Add missing clk_get_sys() stub Daniel Lezcano <daniel.lezcano@linaro.org> - 2016-06-06 09:20 +0200

csiph-web