From 90f89ee43d562a0e8699cb3a5cac6efe6c6b7406 Mon Sep 17 00:00:00 2001 From: Holger Waechtler Date: Fri, 25 Apr 2003 13:03:45 +0000 Subject: fix syntax errors to get it compile again. --- linux/drivers/media/dvb/dvb-core/dvb_demux.c | 4 ++-- linux/drivers/media/dvb/frontends/stv0299.c | 9 +++++++++ linux/drivers/media/dvb/ttpci/av7110.c | 4 ++-- 3 files changed, 13 insertions(+), 4 deletions(-) (limited to 'linux/drivers/media/dvb') diff --git a/linux/drivers/media/dvb/dvb-core/dvb_demux.c b/linux/drivers/media/dvb/dvb-core/dvb_demux.c index 7aab48830..1787f0f1b 100644 --- a/linux/drivers/media/dvb/dvb-core/dvb_demux.c +++ b/linux/drivers/media/dvb/dvb-core/dvb_demux.c @@ -831,7 +831,7 @@ static void prepare_secfilters(struct dvb_demux_feed *dvbdmxfeed) dmx_section_filter_t *sf; u8 mask, mode, doneq; - if (!(f=dvbdmxfeed->filter) + if (!(f=dvbdmxfeed->filter)) return; do { sf = &f->filter; @@ -1079,7 +1079,7 @@ static int dvbdmx_write(dmx_demux_t *demux, const char *buf, size_t count) static int dvbdmx_add_frontend(dmx_demux_t *demux, dmx_frontend_t *frontend) { struct dvb_demux *dvbdemux = (struct dvb_demux *) demux; - struct list_head *pos, *head = &dvbdemux->frontend_list; + struct list_head *head = &dvbdemux->frontend_list; list_add(&(frontend->connectivity_list), head); diff --git a/linux/drivers/media/dvb/frontends/stv0299.c b/linux/drivers/media/dvb/frontends/stv0299.c index 2e51faef8..8012970c8 100644 --- a/linux/drivers/media/dvb/frontends/stv0299.c +++ b/linux/drivers/media/dvb/frontends/stv0299.c @@ -48,6 +48,15 @@ static int debug = 0; #define dprintk if (debug) printk +static +inline void ddelay(int i) +{ + current->state=TASK_INTERRUPTIBLE; + schedule_timeout((HZ*i)/1000); +} + + + /* frontend types */ #define UNKNOWN_FRONTEND -1 #define PHILIPS_SU1278SH 0 diff --git a/linux/drivers/media/dvb/ttpci/av7110.c b/linux/drivers/media/dvb/ttpci/av7110.c index c7d77b2eb..f571dee7b 100644 --- a/linux/drivers/media/dvb/ttpci/av7110.c +++ b/linux/drivers/media/dvb/ttpci/av7110.c @@ -1593,7 +1593,7 @@ LoadBitmap(av7110_t *av7110, u16 format, u16 dx, u16 dy, int inc, u8* data) break; schedule(); } - set_current_state(TASK_RUNNING) + set_current_state(TASK_RUNNING); remove_wait_queue(&av7110->bmpq, &wait); } if (av7110->bmp_state==BMP_LOADING) @@ -1651,7 +1651,7 @@ BlitBitmap(av7110_t *av7110, u16 win, u16 x, u16 y, u16 trans) break; schedule(); } - set_current_state(TASK_RUNNING) + set_current_state(TASK_RUNNING); remove_wait_queue(&av7110->bmpq, &wait); } if (av7110->bmp_state==BMP_LOADED) -- cgit v1.2.3