Author: nbd
Date: 2014-06-13 15:29:18 +0200 (Fri, 13 Jun 2014)
New Revision: 41181

Added:
   trunk/package/kernel/mac80211/patches/080-disable_clk_backport.patch
Log:
mac80211: disable the clk_* backport, it is unused by drivers and has the wrong 
ifdef

Signed-off-by: Felix Fietkau <[email protected]>

Added: trunk/package/kernel/mac80211/patches/080-disable_clk_backport.patch
===================================================================
--- trunk/package/kernel/mac80211/patches/080-disable_clk_backport.patch        
                        (rev 0)
+++ trunk/package/kernel/mac80211/patches/080-disable_clk_backport.patch        
2014-06-13 13:29:18 UTC (rev 41181)
@@ -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
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to