summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/frontends/drxk.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-07-09 13:06:12 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-27 17:55:48 -0300
commite076c92ed6908b0a06ea0d419606a59cae7febe6 (patch)
treef6f669706009d14234d6dde89c85e988cb1682a6 /drivers/media/dvb/frontends/drxk.h
parent0fc55e81d3364e6535cacb10b5a579f8c62625b1 (diff)
[media] drxk: Convert an #ifdef logic as a new config parameter
Instead of using #ifdef I2C_LONG_ADR for some devices, convert it into a parameter. Terratec H5 logs from the original driver seems to need this mode. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/drxk.h')
-rw-r--r--drivers/media/dvb/frontends/drxk.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/drxk.h b/drivers/media/dvb/frontends/drxk.h
index a7b295f82a86..d5b6f9fe4d7c 100644
--- a/drivers/media/dvb/frontends/drxk.h
+++ b/drivers/media/dvb/frontends/drxk.h
@@ -6,6 +6,7 @@
struct drxk_config {
u8 adr;
+ u32 single_master : 1;
};
extern struct dvb_frontend *drxk_attach(const struct drxk_config *config,