openwrt-barrierbreaker/package/kernel/mac80211/patches/080-disable_clk_backport.patch
nbd e345c9a277 create branch for barrier breaker (from trunk r41863)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41864 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-28 23:18:57 +00:00

20 lines
390 B
Diff

--- 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