summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/m88ds3103_priv.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2015-04-17 01:04:55 +0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-05-30 17:08:05 +0200
commitf01919e8f54f645fb00fdb823fe266e21eebe3b1 (patch)
tree18e6454fbc27a950936e47ae599ddcc1b5be4b00 /drivers/media/dvb-frontends/m88ds3103_priv.h
parent[media] m88ds3103: use jiffies when polling DiSEqC TX ready (diff)
downloadlinux-f01919e8f54f645fb00fdb823fe266e21eebe3b1.tar.xz
linux-f01919e8f54f645fb00fdb823fe266e21eebe3b1.zip
[media] m88ds3103: add I2C client binding
Implement I2C client device binding. Wrap media attach to driver I2C probe. Add wrapper from m88ds3103_attach() to m88ds3103_probe() via driver core in order to provide proper I2C client for legacy media attach binding. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/m88ds3103_priv.h')
-rw-r--r--drivers/media/dvb-frontends/m88ds3103_priv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/m88ds3103_priv.h b/drivers/media/dvb-frontends/m88ds3103_priv.h
index 78e58e3c8c24..6217d928c23e 100644
--- a/drivers/media/dvb-frontends/m88ds3103_priv.h
+++ b/drivers/media/dvb-frontends/m88ds3103_priv.h
@@ -32,8 +32,10 @@
struct m88ds3103_priv {
struct i2c_adapter *i2c;
+ struct i2c_client *client;
/* mutex needed due to own tuner I2C adapter */
struct mutex i2c_mutex;
+ struct m88ds3103_config config;
const struct m88ds3103_config *cfg;
struct dvb_frontend fe;
fe_delivery_system_t delivery_system;