summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/050-compat_firmware.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-08-01 17:42:00 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-08-01 17:42:00 +0000
commit21dd9478d76fe4fb9fd98208bbfa6aae72642420 (patch)
treedacaf0448d94a874bfbec5689d3411633d7a391f /package/mac80211/patches/050-compat_firmware.patch
parent0cd8805b0a0417692adbdb28a466c92acace022d (diff)
downloadmtk-20170518-21dd9478d76fe4fb9fd98208bbfa6aae72642420.zip
mtk-20170518-21dd9478d76fe4fb9fd98208bbfa6aae72642420.tar.gz
mtk-20170518-21dd9478d76fe4fb9fd98208bbfa6aae72642420.tar.bz2
mac80211: move compat_firmware_class.ko into compat.ko (fixes #9864)
SVN-Revision: 27863
Diffstat (limited to 'package/mac80211/patches/050-compat_firmware.patch')
-rw-r--r--package/mac80211/patches/050-compat_firmware.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/mac80211/patches/050-compat_firmware.patch b/package/mac80211/patches/050-compat_firmware.patch
new file mode 100644
index 0000000..4d96ca9
--- /dev/null
+++ b/package/mac80211/patches/050-compat_firmware.patch
@@ -0,0 +1,17 @@
+--- a/compat/Makefile
++++ b/compat/Makefile
+@@ -1,10 +1,13 @@
+ obj-m += compat.o
+ #compat-objs :=
+
+-obj-$(CONFIG_COMPAT_FIRMWARE_CLASS) += compat_firmware_class.o
+
+ compat-y += main.o
+
++ifdef CONFIG_COMPAT_FIRMWARE_CLASS
++ compat-y += compat_firmware_class.o
++endif
++
+ # Compat kernel compatibility code
+ compat-$(CONFIG_COMPAT_KERNEL_2_6_14) += compat-2.6.14.o
+ compat-$(CONFIG_COMPAT_KERNEL_2_6_18) += compat-2.6.18.o