summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorNickolay V. Shmyrev <devnull@localhost>2005-10-25 17:25:14 +0000
committerNickolay V. Shmyrev <devnull@localhost>2005-10-25 17:25:14 +0000
commit4b05d47d452e4251b6e1b0bbd4393f113b9f6131 (patch)
treea7f21be772bfe109ca818597d64f60fa1a8739a8 /linux/drivers
parent399c19d3e2e0c31f7b9f1523cf0f604cc4855c11 (diff)
downloadmediapointer-dvb-s2-4b05d47d452e4251b6e1b0bbd4393f113b9f6131.tar.gz
mediapointer-dvb-s2-4b05d47d452e4251b6e1b0bbd4393f113b9f6131.tar.bz2
* ../linux/drivers/media/video/saa7134/saa7134-alsa.c:
- Fix compilation with 2.6.8. Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/video/saa7134/saa7134-alsa.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-alsa.c b/linux/drivers/media/video/saa7134/saa7134-alsa.c
index 8c54d29e2..be20a796d 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.9 2005/10/18 14:27:43 mchehab Exp $
+ * $Id: saa7134-alsa.c,v 1.10 2005/10/25 17:25:14 nsh Exp $
*
* Caveats:
* - Volume doesn't work (it's always at max)
@@ -95,6 +95,11 @@ typedef struct snd_card_saa7134 {
spinlock_t lock;
} snd_card_saa7134_t;
+
+#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,8)
+#define chip_t snd_card_saa7134_t
+#endif
+
/*
* PCM structure
*/