summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/frontends/dib7000m.h
diff options
context:
space:
mode:
authorPatrick Boettcher <pboettcher@dibcom.fr>2006-10-17 18:28:14 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-12-10 08:51:00 -0200
commit69ea31e7debdefcf1412e8d590ae9bd90cf9253f (patch)
tree7c50602aed2953c92ce8b636d0e8141febb52ef5 /drivers/media/dvb/frontends/dib7000m.h
parent3cc2e4c3a137075ee66e2d4ce95a95ba153bd7b9 (diff)
downloadlwn-69ea31e7debdefcf1412e8d590ae9bd90cf9253f.tar.gz
lwn-69ea31e7debdefcf1412e8d590ae9bd90cf9253f.zip
V4L/DVB (4766): Add working dib7000m-module
First working version of the dib7000m-driver. This commit also makes the Hauppauge NOVA-T Stick working. Signed-off-by: Francois Kanounnikoff <fkanounnikoff@dibcom.fr> Signed-off-by: Patrick Boettcher <pboettcher@dibcom.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends/dib7000m.h')
-rw-r--r--drivers/media/dvb/frontends/dib7000m.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/dib7000m.h b/drivers/media/dvb/frontends/dib7000m.h
index 45990e3a5cee..597e9cc2da62 100644
--- a/drivers/media/dvb/frontends/dib7000m.h
+++ b/drivers/media/dvb/frontends/dib7000m.h
@@ -32,12 +32,13 @@ struct dib7000m_config {
u8 quartz_direct;
u8 input_clk_is_div_2;
+
+ int (*agc_control) (struct dvb_frontend *, u8 before);
};
#define DEFAULT_DIB7000M_I2C_ADDRESS 18
-extern int dib7000m_attach(struct i2c_adapter *i2c_adap, int no_of_demods, u8 default_addr , u8 do_i2c_enum, struct dib7000m_config[], struct dvb_frontend*[]);
-
+extern struct dvb_frontend * dib7000m_attach(struct i2c_adapter *i2c_adap, u8 i2c_addr, struct dib7000m_config *cfg);
extern struct i2c_adapter * dib7000m_get_i2c_master(struct dvb_frontend *, enum dibx000_i2c_interface, int);
/* TODO