aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/080-disable_clk_backport.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-06-13 13:33:39 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-06-13 13:33:39 +0000
commit050a22b6b6249f8c2170bd79b6cf18a0b6186493 (patch)
tree1e0a6b4dc52443ce68ae2757da0cf6e4674fbb16 /package/mac80211/patches/080-disable_clk_backport.patch
parent006119faa07526ed204ac8f8c6968c1a38bd5e66 (diff)
downloadupstream-050a22b6b6249f8c2170bd79b6cf18a0b6186493.tar.gz
upstream-050a22b6b6249f8c2170bd79b6cf18a0b6186493.tar.bz2
upstream-050a22b6b6249f8c2170bd79b6cf18a0b6186493.zip
AA: mac80211: sync with trunk r41181
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@41182 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/080-disable_clk_backport.patch')
-rw-r--r--package/mac80211/patches/080-disable_clk_backport.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/mac80211/patches/080-disable_clk_backport.patch b/package/mac80211/patches/080-disable_clk_backport.patch
new file mode 100644
index 0000000000..3765591ebb
--- /dev/null
+++ b/package/mac80211/patches/080-disable_clk_backport.patch
@@ -0,0 +1,20 @@
+--- a/compat/compat-3.6.c
++++ b/compat/compat-3.6.c
+@@ -147,17 +147,3 @@ int sg_alloc_table_from_pages(struct sg_
+ return 0;
+ }
+ EXPORT_SYMBOL_GPL(sg_alloc_table_from_pages);
+-
+-/* whoopsie ! */
+-#ifndef CONFIG_COMMON_CLK
+-int clk_enable(struct clk *clk)
+-{
+- return 0;
+-}
+-EXPORT_SYMBOL_GPL(clk_enable);
+-
+-void clk_disable(struct clk *clk)
+-{
+-}
+-EXPORT_SYMBOL_GPL(clk_disable);
+-#endif