1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-05 05:39:25 +02:00
openwrt-xburst/package/mac80211/patches/040-include_kfifo.patch
nbd 13f9b2cb45 mac80211: include the kfifo backport in compat.ko if necessary (backport of r24978)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@24987 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-14 17:50:17 +00:00

25 lines
577 B
Diff

--- a/compat/Makefile
+++ b/compat/Makefile
@@ -2,9 +2,9 @@ obj-m += compat.o
#compat-objs :=
obj-$(CONFIG_COMPAT_FIRMWARE_CLASS) += compat_firmware_class.o
-obj-$(CONFIG_COMPAT_KFIFO) += kfifo.o
compat-y += main.o
+compat-$(CONFIG_COMPAT_KFIFO) += kfifo.o
# Compat kernel compatibility code
compat-$(CONFIG_COMPAT_KERNEL_14) += compat-2.6.14.o
--- a/config.mk
+++ b/config.mk
@@ -90,7 +90,7 @@ endif #CONFIG_FW_LOADER
endif #CONFIG_COMPAT_KERNEL_33
ifdef CONFIG_COMPAT_KERNEL_36
-CONFIG_COMPAT_KFIFO=m
+CONFIG_COMPAT_KFIFO=y
endif #CONFIG_COMPAT_KERNEL_36