summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-03-28 14:46:28 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-03-28 14:46:28 -0300
commit79210327fbe5a02bcb93d9b464ccb38fce31b432 (patch)
tree17379c86cf7ef474c35658be586bb0d94d65ba1e /linux
parentb809e0a0b09c4c4954d50ad8720df4b7ed56c7b9 (diff)
downloadmediapointer-dvb-s2-79210327fbe5a02bcb93d9b464ccb38fce31b432.tar.gz
mediapointer-dvb-s2-79210327fbe5a02bcb93d9b464ccb38fce31b432.tar.bz2
Avoid build warnings for distro-patched 2.6.24 kernels
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux')
-rw-r--r--linux/sound/pci/bt87x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/sound/pci/bt87x.c b/linux/sound/pci/bt87x.c
index aeef46b61..7e6f22041 100644
--- a/linux/sound/pci/bt87x.c
+++ b/linux/sound/pci/bt87x.c
@@ -28,7 +28,7 @@
#include <linux/moduleparam.h>
#include <linux/bitops.h>
#include <asm/io.h>
-#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,24)
+#ifdef NEED_SOUND_DRIVER_H
#include <sound/driver.h>
#endif
#include <sound/core.h>