summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorHolger Waechtler <devnull@localhost>2003-04-25 13:03:45 +0000
committerHolger Waechtler <devnull@localhost>2003-04-25 13:03:45 +0000
commit90f89ee43d562a0e8699cb3a5cac6efe6c6b7406 (patch)
tree966df099f6fdbcba0d1b409f4751669be0cd6d04 /linux
parentf0d82beb5a9d89dbcb9230a2e07a24353747360f (diff)
downloadmediapointer-dvb-s2-90f89ee43d562a0e8699cb3a5cac6efe6c6b7406.tar.gz
mediapointer-dvb-s2-90f89ee43d562a0e8699cb3a5cac6efe6c6b7406.tar.bz2
fix syntax errors to get it compile again.
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvb_demux.c4
-rw-r--r--linux/drivers/media/dvb/frontends/stv0299.c9
-rw-r--r--linux/drivers/media/dvb/ttpci/av7110.c4
3 files changed, 13 insertions, 4 deletions
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)