[PATCH 02/11] ARM: Nomadik: Implement a clk_set_rate stub

Sascha Hauer s.hauer at pengutronix.de
Thu Nov 27 08:15:23 PST 2014


Some drivers need it, so give it to them.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 arch/arm/mach-nomadik/clock.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/mach-nomadik/clock.c b/arch/arm/mach-nomadik/clock.c
index 5f34a2c..f3ea958 100644
--- a/arch/arm/mach-nomadik/clock.c
+++ b/arch/arm/mach-nomadik/clock.c
@@ -22,6 +22,12 @@ unsigned long clk_get_rate(struct clk *clk)
 }
 EXPORT_SYMBOL(clk_get_rate);
 
+int clk_set_rate(struct clk *clk, unsigned long rate)
+{
+	return 0;
+}
+EXPORT_SYMBOL(clk_set_rate);
+
 /* enable and disable do nothing */
 int clk_enable(struct clk *clk)
 {
-- 
2.1.3




More information about the barebox mailing list