Skip to contentSkip to conversation

compat: only compile optional sdio code on 2.6.37 and later

PATCH In review Andy Gospodarek 2 participants 3 messages Aug 14, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 config.mk |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
config.mk +2 -0
index 93f0738..165a6ad 100644
@@ -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
 
Signature · 1 line
1.7.6.5
#1 lore raw

Re: [PATCH] compat-wireless: only compile optional sdio code on 2.6.37 and later

[Subject fixed]

Quoted 30 lines · Andy Gospodarek

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.

---
 config.mk |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
config.mk +2 -0
index 93f0738..165a6ad 100644
@@ -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
 
Signature · 6 lines
1.7.6.5

--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html