[PATCH 11/12] backports: add BPAUTO_BUILD_CORDIC only for kernel < 3.1

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

 



Cordic was added in commit 10f8113ecb "lib: cordic: add library module
providing cordic angle calculation" in kernel 3.1, we do not need the
backport for more recent kernel versions.

Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx>
---
 backport/compat/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/backport/compat/Kconfig b/backport/compat/Kconfig
index 07084d2..a99f11f 100644
--- a/backport/compat/Kconfig
+++ b/backport/compat/Kconfig
@@ -65,6 +65,7 @@ config BP_MODULES
 config BPAUTO_BUILD_CORDIC
 	tristate
 	depends on !CORDIC
+	depends on KERNEL_3_1
 	default m if BPAUTO_CORDIC
 	default m if BPAUTO_USERSEL_BUILD_ALL
 	#module-name cordic
-- 
2.7.0

--
To unsubscribe from this list: send the line "unsubscribe backports" in



[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