diff options
Diffstat (limited to 'linux/drivers/media/video/saa7134/saa7134-alsa.c')
-rw-r--r-- | linux/drivers/media/video/saa7134/saa7134-alsa.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-alsa.c b/linux/drivers/media/video/saa7134/saa7134-alsa.c index 782d11a7e..bb7eccc72 100644 --- a/linux/drivers/media/video/saa7134/saa7134-alsa.c +++ b/linux/drivers/media/video/saa7134/saa7134-alsa.c @@ -2,7 +2,7 @@ * SAA713x ALSA support for V4L * Ricardo Cerqueira <v4l@cerqueira.org> * - * $Id: saa7134-alsa.c,v 1.5 2005/10/08 09:20:24 nsh Exp $ + * $Id: saa7134-alsa.c,v 1.6 2005/10/09 18:07:06 mchehab Exp $ * * Caveats: * - Volume doesn't work (it's always at max) @@ -22,20 +22,21 @@ * */ -#include <sound/driver.h> +#include "compat.h" +#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,0) #include <linux/init.h> #include <linux/slab.h> #include <linux/time.h> #include <linux/wait.h> #include <linux/moduleparam.h> #include <linux/module.h> +#include <sound/driver.h> #include <sound/core.h> #include <sound/control.h> #include <sound/pcm.h> #include <sound/rawmidi.h> #include <sound/initval.h> -#include "compat.h" #include "saa7134.h" #include "saa7134-reg.h" @@ -988,3 +989,5 @@ void alsa_card_saa7134_exit(void) snd_card_free(snd_saa7134_cards[idx]); } } +#endif /* LINUX_VERSION_CODE */ + |