| To: | unlisted-recipients:; (no To-header on input) |
|---|---|
| Subject: | [PATCH V2 1/2] MIPS: lantiq: adds missing clk.h functions |
| From: | John Crispin <blogic@openwrt.org> |
| Date: | Thu, 9 Jun 2011 20:15:21 +0200 |
| Cc: | John Crispin <blogic@openwrt.org>, linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 1/2] MIPS: lantiq: adds missing clk.h functions, John Crispin |
|---|---|
| Next by Date: | Linux 2.6.39 on Cavium CN38xx, Guenter Roeck |
| Previous by Thread: | [PATCH 1/2] MIPS: lantiq: adds missing clk.h functions, John Crispin |
| Next by Thread: | Re: [PATCH V2 1/2] MIPS: lantiq: adds missing clk.h functions, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |