summaryrefslogtreecommitdiff
path: root/linux/include/media
diff options
context:
space:
mode:
authordarron@kewl.org <darron@kewl.org>2008-10-15 17:43:41 +0100
committerdarron@kewl.org <darron@kewl.org>2008-10-15 17:43:41 +0100
commitc8efc47aefa864b92537ab1470b913b20e8dcacd (patch)
treea7a8265a6a4e0b2732d7db44073b6d6c319f4022 /linux/include/media
parent78057bdf11c9ba36c64c6c081eeb6bae29cd72c4 (diff)
downloadmediapointer-dvb-s2-c8efc47aefa864b92537ab1470b913b20e8dcacd.tar.gz
mediapointer-dvb-s2-c8efc47aefa864b92537ab1470b913b20e8dcacd.tar.bz2
videobuf: data storage optimisation
From: Darron Broad <darron@kewl.org> To optimise data storage redundant vars are removed. Priority: normal Signed-off-by: Darron Broad <darron@kewl.org> Signed-off-by: Steven Toth <stoth@linuxtv.org>
Diffstat (limited to 'linux/include/media')
-rw-r--r--linux/include/media/videobuf-dvb.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/linux/include/media/videobuf-dvb.h b/linux/include/media/videobuf-dvb.h
index 1a401f732..069215c77 100644
--- a/linux/include/media/videobuf-dvb.h
+++ b/linux/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 */
};