aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/040-include_kfifo.patch
blob: 3ea64b56a72604d78d0307e392001cfb3d19cc5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- 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