summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-09-28 10:55:54 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-09-28 10:55:54 -0300
commit83fb6c87a9c82a47fd57ffaed422eba87114dbb1 (patch)
tree7b72d80091980b54d7c1aee8ff49d0bc4a56caf7 /linux/drivers
parent7ffda86bc612f5670c3461d8342ccb24d2ebc547 (diff)
downloadmediapointer-dvb-s2-83fb6c87a9c82a47fd57ffaed422eba87114dbb1.tar.gz
mediapointer-dvb-s2-83fb6c87a9c82a47fd57ffaed422eba87114dbb1.tar.bz2
compat: allow compililation with kernels with updated sound drivers
From: Mauro Carvalho Chehab <mchehab@infradead.org> A few distro kernels, like Mandriva 2.6.22.9-desktop-1mdv are starting to be shipped with the newer alsa drivers. This patch changes the compat code for older kernels in a way that it will be compatible also with those distro kernels. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/video/cx88/cx88-alsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-alsa.c b/linux/drivers/media/video/cx88/cx88-alsa.c
index f441193eb..d858bdd5c 100644
--- a/linux/drivers/media/video/cx88/cx88-alsa.c
+++ b/linux/drivers/media/video/cx88/cx88-alsa.c
@@ -103,7 +103,7 @@ typedef struct cx88_audio_dev snd_cx88_card_t;
#define chip_t snd_cx88_card_t
#endif
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24)
+#ifdef COMPAT_SND_CTL_BOOLEAN_MONO
static int snd_ctl_boolean_mono_info(struct snd_kcontrol *kcontrol,
struct snd_ctl_elem_info *uinfo)
{