diff options
author | Nickolay V. Shmyrev <devnull@localhost> | 2005-07-06 16:21:25 +0000 |
---|---|---|
committer | Nickolay V. Shmyrev <devnull@localhost> | 2005-07-06 16:21:25 +0000 |
commit | 990acfb41cb9e0c73271521b8d9aae198a5ecfb1 (patch) | |
tree | 216b117b1abfd544961d19932e72e629d7ae4765 /linux/drivers/media/video/video-buf-dvb.c | |
parent | 2344b70c27f675b98f5844f78939bc21ba07991b (diff) | |
download | mediapointer-dvb-s2-990acfb41cb9e0c73271521b8d9aae198a5ecfb1.tar.gz mediapointer-dvb-s2-990acfb41cb9e0c73271521b8d9aae198a5ecfb1.tar.bz2 |
* msp3400.c video-buf-dvb.c:
- Fix build with 2.6.13.
* cx22702.c:
- Remove unused field id that cause build problems.
Signed-Off-By: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
Diffstat (limited to 'linux/drivers/media/video/video-buf-dvb.c')
-rw-r--r-- | linux/drivers/media/video/video-buf-dvb.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/linux/drivers/media/video/video-buf-dvb.c b/linux/drivers/media/video/video-buf-dvb.c index 16a4560d1..1474700d5 100644 --- a/linux/drivers/media/video/video-buf-dvb.c +++ b/linux/drivers/media/video/video-buf-dvb.c @@ -1,5 +1,5 @@ /* - * $Id: video-buf-dvb.c,v 1.9 2005/06/18 04:00:19 mkrufky Exp $ + * $Id: video-buf-dvb.c,v 1.10 2005/07/06 16:21:25 nsh Exp $ * * some helper function for simple DVB cards which simply DMA the * complete transport stream and let the computer sort everything else @@ -62,8 +62,13 @@ static int videobuf_dvb_thread(void *data) break; if (kthread_should_stop()) break; - if (current->flags & PF_FREEZE) - refrigerator(PF_FREEZE); + if (current->flags & PF_FREEZE) { +#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,12) + refrigerator (PF_FREEZE); +#else + refrigerator (); +#endif + } /* feed buffer data to demux */ if (buf->state == STATE_DONE) |