compat-wireless: enable CONFIG_WL18XX on >= 2.6.30
authorLuis R. Rodriguez <mcgrof@frijolero.org>
Wed, 13 Jun 2012 03:55:02 +0000 (20:55 -0700)
committerLuis R. Rodriguez <mcgrof@frijolero.org>
Wed, 13 Jun 2012 03:55:02 +0000 (20:55 -0700)
Compilation breaks on older kernels.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
config.mk

index 81e89ad435a6593174c3ac172c5ada5f2e129d23..dce9fc48b8b500ca4c1b80b22b6a49ba6845a4b2 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -654,7 +654,9 @@ export CONFIG_WLCORE=m
 ifdef CONFIG_CRC7
 export CONFIG_WL1251=m
 export CONFIG_WL12XX=m
+ifdef CONFIG_COMPAT_KERNEL_2_6_30
 export CONFIG_WL18XX=m
+endif #CONFIG_COMPAT_KERNEL_2_6_30
 endif #CONFIG_CRC7
 
 export CONFIG_MWIFIEX=m