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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx>

---
 config.mk |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/config.mk b/config.mk
index 93f0738..165a6ad 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
 
-- 
1.7.6.5

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


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux