| 1 | --- a/compat/Makefile |
| 2 | +++ b/compat/Makefile |
| 3 | @@ -2,9 +2,9 @@ obj-m += compat.o |
| 4 | #compat-objs := |
| 5 | |
| 6 | obj-$(CONFIG_COMPAT_FIRMWARE_CLASS) += compat_firmware_class.o |
| 7 | -obj-$(CONFIG_COMPAT_KFIFO) += kfifo.o |
| 8 | |
| 9 | compat-y += main.o |
| 10 | +compat-$(CONFIG_COMPAT_KFIFO) += kfifo.o |
| 11 | |
| 12 | # Compat kernel compatibility code |
| 13 | compat-$(CONFIG_COMPAT_KERNEL_14) += compat-2.6.14.o |
| 14 | --- a/config.mk |
| 15 | +++ b/config.mk |
| 16 | @@ -90,7 +90,7 @@ endif #CONFIG_FW_LOADER |
| 17 | endif #CONFIG_COMPAT_KERNEL_33 |
| 18 | |
| 19 | ifdef CONFIG_COMPAT_KERNEL_36 |
| 20 | -CONFIG_COMPAT_KFIFO=m |
| 21 | +CONFIG_COMPAT_KFIFO=y |
| 22 | endif #CONFIG_COMPAT_KERNEL_36 |
| 23 | |
| 24 | |
| 25 | |