summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorAndy Gospodarek <gospo@redhat.com>2012-08-14 14:52:27 -0400
committerLuis R. Rodriguez <mcgrof@do-not-panic.com>2012-08-14 16:02:45 -0700
commitd69fd91641c8659be819f9398fd6961698ead769 (patch)
tree4b45cbd16a3fae0ef422135f448dbd8757416154 /config.mk
parenta23a266a05c18ed3886a3b88d6c348c12f849a35 (diff)
compat: only compile optional sdio code on 2.6.37 and later
The pm_runtime routines in wlcore/sdio.c are not included in compat and the best alternative is to build them only on kernels 2.6.37 and later. Signed-off-by: Andy Gospodarek <andy@greyhouse.net> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.mk b/config.mk
index 93f07383..165a6ad2 100644
--- a/config.mk
+++ b/config.mk
@@ -588,7 +588,9 @@ ifdef CONFIG_WL12XX_PLATFORM_DATA
ifndef CONFIG_COMPAT_KERNEL_2_6_37
export CONFIG_COMPAT_WL1251_SDIO=m
endif #CONFIG_COMPAT_KERNEL_2_6_37
+ifndef CONFIG_COMPAT_KERNEL_2_6_38
export CONFIG_WLCORE_SDIO=m
+endif #CONFIG_COMPAT_KERNEL_2_6_38
endif #CONFIG_WL12XX_PLATFORM_DATA
endif #CONFIG_CRC7