summaryrefslogtreecommitdiffstats
path: root/include/media/videobuf-dvb.h
diff options
context:
space:
mode:
authorDarron Broad <darron@kewl.org>2008-10-15 18:43:41 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-17 22:28:31 +0200
commit7bdf84fc47f2d2ed2194b6ade480d043207c4098 (patch)
tree8f015d667fcba57e7223458c61c1de87f8d67413 /include/media/videobuf-dvb.h
parentV4L/DVB (9264): MFE: bugfix: multi-frontend mutual exclusion parallel open (diff)
downloadlinux-7bdf84fc47f2d2ed2194b6ade480d043207c4098.tar.xz
linux-7bdf84fc47f2d2ed2194b6ade480d043207c4098.zip
V4L/DVB (9265): videobuf: data storage optimisation
To optimise data storage redundant vars are removed. Signed-off-by: Darron Broad <darron@kewl.org> Signed-off-by: Steven Toth <stoth@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/videobuf-dvb.h')
-rw-r--r--include/media/videobuf-dvb.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/media/videobuf-dvb.h b/include/media/videobuf-dvb.h
index 1a401f7320b9..069215c77a65 100644
--- a/include/media/videobuf-dvb.h
+++ b/include/media/videobuf-dvb.h
@@ -16,7 +16,6 @@ struct videobuf_dvb {
int nfeeds;
/* videobuf_dvb_(un)register manges this */
- struct dvb_adapter adapter;
struct dvb_demux demux;
struct dmxdev dmxdev;
struct dmx_frontend fe_hw;
@@ -25,17 +24,17 @@ struct videobuf_dvb {
};
struct videobuf_dvb_frontend {
- void *dev;
struct list_head felist;
+ void *dev;
int id;
struct videobuf_dvb dvb;
};
struct videobuf_dvb_frontends {
+ struct list_head felist;
struct mutex lock;
struct dvb_adapter adapter;
int active_fe_id; /* Indicates which frontend in the felist is in use */
- struct videobuf_dvb_frontend frontend;
int gate; /* Frontend with gate control 0=!MFE,1=fe0,2=fe1 etc */
};