alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Fix bint check version check
@ 2012-01-19 15:25 Ozan Çağlayan
  2012-01-19 15:41 ` Jaroslav Kysela
  0 siblings, 1 reply; 2+ messages in thread
From: Ozan Çağlayan @ 2012-01-19 15:25 UTC (permalink / raw)
  To: alsa-devel; +Cc: tiwai

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
-- 
1.7.7.1

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-01-19 15:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-19 15:25 [PATCH] Fix bint check version check Ozan Çağlayan
2012-01-19 15:41 ` Jaroslav Kysela

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).