summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/tda18271.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-12-12 00:40:19 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-12-12 00:40:19 -0200
commit4981413b8584d461413c56d89f91b5d11796aa31 (patch)
tree3cefe1767733ce1bf019ffcb41a4cc07a71cca92 /linux/drivers/media/dvb/frontends/tda18271.h
parentc30e05a83632aeb144f9d3912d39162564244a34 (diff)
parentbfea07eb7991bd4da2c596c6b9aa2c878328dbc7 (diff)
downloadmediapointer-dvb-s2-4981413b8584d461413c56d89f91b5d11796aa31.tar.gz
mediapointer-dvb-s2-4981413b8584d461413c56d89f91b5d11796aa31.tar.bz2
merge: http://linuxtv.org/hg/~mkrufky/tda18271
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/tda18271.h')
-rw-r--r--linux/drivers/media/dvb/frontends/tda18271.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/frontends/tda18271.h b/linux/drivers/media/dvb/frontends/tda18271.h
index a8a19a719..d84003372 100644
--- a/linux/drivers/media/dvb/frontends/tda18271.h
+++ b/linux/drivers/media/dvb/frontends/tda18271.h
@@ -24,13 +24,21 @@
#include <linux/i2c.h>
#include "dvb_frontend.h"
+enum tda18271_i2c_gate {
+ TDA18271_GATE_AUTO = 0,
+ TDA18271_GATE_ANALOG,
+ TDA18271_GATE_DIGITAL,
+};
+
#if defined(CONFIG_DVB_TDA18271) || (defined(CONFIG_DVB_TDA18271_MODULE) && defined(MODULE))
extern struct dvb_frontend *tda18271_attach(struct dvb_frontend *fe, u8 addr,
- struct i2c_adapter *i2c);
+ struct i2c_adapter *i2c,
+ enum tda18271_i2c_gate gate);
#else
static inline struct dvb_frontend *tda18271_attach(struct dvb_frontend *fe,
u8 addr,
- struct i2c_adapter *i2c)
+ struct i2c_adapter *i2c,
+ enum tda18271_i2c_gate gate);
{
printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __FUNCTION__);
return NULL;