[alsa-devel] [PATCH] Fix bint check version check
Ozan Çağlayan
ozan at pardus.org.tr
Thu Jan 19 16:25:10 CET 2012
It seems that the bint stuff is not a part of 3.2 kernel as it's
pulled by Linus only a few days ago, so increment version check
to 3.3.0:
commit 69116f279a9eaf4c540934269342d9149538fc79
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Fri Jan 13 09:32:17 2012 +1030
module_param: avoid bool abuse, add bint for special cases.
Signed-off-by: Ozan Çağlayan <ozan at pardus.org.tr>
---
include/adriver.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/adriver.h b/include/adriver.h
index a6e6cbc..9bc8ca8 100644
--- a/include/adriver.h
+++ b/include/adriver.h
@@ -830,7 +830,7 @@ static inline unsigned long msecs_to_jiffies(const unsigned int m)
#endif
#endif
-#if LINUX_VERSION_CODE <= KERNEL_VERSION(3, 2, 0)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 3, 0)
#include <linux/moduleparam.h>
#ifndef param_get_bint
#define bint bool
--
1.7.7.1
More information about the Alsa-devel
mailing list