diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-06-13 13:29:18 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-06-13 13:29:18 +0000 |
commit | 0f87ca021fe0e2e8f1059eddb5788bcd7844e960 (patch) | |
tree | c7e9704c29c76a20037539f65a5f907ab5fa8524 /package/kernel/mac80211 | |
parent | 867ba199f8fa17da2681e519980439f1b3049de9 (diff) | |
download | upstream-0f87ca021fe0e2e8f1059eddb5788bcd7844e960.tar.gz upstream-0f87ca021fe0e2e8f1059eddb5788bcd7844e960.tar.bz2 upstream-0f87ca021fe0e2e8f1059eddb5788bcd7844e960.zip |
mac80211: disable the clk_* backport, it is unused by drivers and has the wrong ifdef
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41181
Diffstat (limited to 'package/kernel/mac80211')
-rw-r--r-- | package/kernel/mac80211/patches/080-disable_clk_backport.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/080-disable_clk_backport.patch b/package/kernel/mac80211/patches/080-disable_clk_backport.patch new file mode 100644 index 0000000000..3765591ebb --- /dev/null +++ b/package/kernel/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 |