compat: only compile optional sdio code on 2.6.37 and later
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.
Signed-off-by Andy Gospodarek <[email protected]>
--- config.mk | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
config.mk +2 -0
@@ -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
Re: [PATCH] compat-wireless: only compile optional sdio code on 2.6.37 and later
[Subject fixed]
Quoted 30 lines · Andy Gospodarek
The
pm_runtimeroutines inwlcore/sdio.care 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 <[email protected]>--- config.mk | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)config.mk +2
-0@@ -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_CRC7Signature · 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
Quoted 4 lines · Andy Gospodarek
The
pm_runtimeroutines inwlcore/sdio.care 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 <[email protected]>
Applied and pushed, thanks! I also propagated it to the linux-3.5.y branch.
Luis