* [PATCH V2 1/2] MIPS: lantiq: adds missing clk.h functions
@ 2011-06-09 18:15 ` John Crispin
0 siblings, 0 replies; 3+ messages in thread
From: John Crispin @ 2011-06-09 18:15 UTC (permalink / raw)
Cc: John Crispin, linux-mips
The 2 functions clk_enable() and clk_disable were missing.
Signed-of-by: John Crispin <blogic@openwrt.org>
Cc: linux-mips@linux-mips.org
---
arch/mips/lantiq/clk.c | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/arch/mips/lantiq/clk.c b/arch/mips/lantiq/clk.c
index 9456089..7e9c0ff 100644
--- a/arch/mips/lantiq/clk.c
+++ b/arch/mips/lantiq/clk.c
@@ -100,6 +100,19 @@ void clk_put(struct clk *clk)
}
EXPORT_SYMBOL(clk_put);
+int clk_enable(struct clk *clk)
+{
+ /* not used */
+ return 0;
+}
+EXPORT_SYMBOL(clk_enable);
+
+void clk_disable(struct clk *clk)
+{
+ /* not used */
+}
+EXPORT_SYMBOL(clk_disable);
+
static inline u32 ltq_get_counter_resolution(void)
{
u32 res;
--
1.7.2.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH V2 1/2] MIPS: lantiq: adds missing clk.h functions
@ 2011-06-09 18:15 ` John Crispin
0 siblings, 0 replies; 3+ messages in thread
From: John Crispin @ 2011-06-09 18:15 UTC (permalink / raw)
Cc: John Crispin, linux-mips
The 2 functions clk_enable() and clk_disable were missing.
Signed-of-by: John Crispin <blogic@openwrt.org>
Cc: linux-mips@linux-mips.org
---
arch/mips/lantiq/clk.c | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/arch/mips/lantiq/clk.c b/arch/mips/lantiq/clk.c
index 9456089..7e9c0ff 100644
--- a/arch/mips/lantiq/clk.c
+++ b/arch/mips/lantiq/clk.c
@@ -100,6 +100,19 @@ void clk_put(struct clk *clk)
}
EXPORT_SYMBOL(clk_put);
+int clk_enable(struct clk *clk)
+{
+ /* not used */
+ return 0;
+}
+EXPORT_SYMBOL(clk_enable);
+
+void clk_disable(struct clk *clk)
+{
+ /* not used */
+}
+EXPORT_SYMBOL(clk_disable);
+
static inline u32 ltq_get_counter_resolution(void)
{
u32 res;
--
1.7.2.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH V2 1/2] MIPS: lantiq: adds missing clk.h functions
2011-06-09 18:15 ` John Crispin
(?)
@ 2011-06-15 17:08 ` Ralf Baechle
-1 siblings, 0 replies; 3+ messages in thread
From: Ralf Baechle @ 2011-06-15 17:08 UTC (permalink / raw)
To: John Crispin; +Cc: linux-mips
Thanks, applied.
Ralf
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-06-15 17:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-09 18:15 [PATCH V2 1/2] MIPS: lantiq: adds missing clk.h functions John Crispin
2011-06-09 18:15 ` John Crispin
2011-06-15 17:08 ` Ralf Baechle
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.