diff options
author | John Crispin <john@openwrt.org> | 2011-10-10 15:13:46 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2011-10-10 15:13:46 +0000 |
commit | 0a866293bd9e204978c995cb0545c20f8ab63c7e (patch) | |
tree | 7d7a9ef25035a4afd4b371b85506fe062bac125a /target/linux/lantiq/patches-3.0/994-backport-3.1-fix-clk.patch | |
parent | 1359fe4fcf0a6cef3eced837d63c866cc75a52fc (diff) | |
download | mtk-20170518-0a866293bd9e204978c995cb0545c20f8ab63c7e.zip mtk-20170518-0a866293bd9e204978c995cb0545c20f8ab63c7e.tar.gz mtk-20170518-0a866293bd9e204978c995cb0545c20f8ab63c7e.tar.bz2 |
* update patches to 3.0
* add basic vr9 support
* backport 3.1 fixes
* backport 3.2 queue (falcon)
SVN-Revision: 28405
Diffstat (limited to 'target/linux/lantiq/patches-3.0/994-backport-3.1-fix-clk.patch')
-rw-r--r-- | target/linux/lantiq/patches-3.0/994-backport-3.1-fix-clk.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/lantiq/patches-3.0/994-backport-3.1-fix-clk.patch b/target/linux/lantiq/patches-3.0/994-backport-3.1-fix-clk.patch new file mode 100644 index 0000000..8f72b4e --- /dev/null +++ b/target/linux/lantiq/patches-3.0/994-backport-3.1-fix-clk.patch @@ -0,0 +1,22 @@ +Index: linux-3.0.3/arch/mips/lantiq/clk.c +=================================================================== +--- linux-3.0.3.orig/arch/mips/lantiq/clk.c 2011-09-29 20:43:07.000000000 +0200 ++++ linux-3.0.3/arch/mips/lantiq/clk.c 2011-09-29 20:45:14.785132132 +0200 +@@ -91,6 +91,17 @@ + } + EXPORT_SYMBOL(clk_put); + ++int clk_enable(struct clk *clk) ++{ ++ /* clocks are always enabled*/ ++ return 0; ++} ++ ++void clk_disable(struct clk *clk) ++{ ++ /* clocks are always enabled*/ ++} ++ + static inline u32 ltq_get_counter_resolution(void) + { + u32 res; |