[alsa-devel] [PATCH] Fix bint check version check
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@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@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
Date 19.1.2012 16:25, Ozan Çağlayan wrote:
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:
Thanks. Applied.
Jaroslav
participants (2)
-
Jaroslav Kysela
-
Ozan Çağlayan