summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/rtl2830_priv.h
diff options
context:
space:
mode:
authorPeter Rosin <peda@axentia.se>2016-04-20 08:41:13 +0200
committerWolfram Sang <wsa@the-dreams.de>2016-04-22 15:00:14 +0200
commita0119159e66e2e67154384d7e20a0ebf46cfa32b (patch)
tree604599a3aae09641616d9ef4549f37d7220b04aa /drivers/media/dvb-frontends/rtl2830_priv.h
parente00fed40f48e43bdb5e018156d077c65b61f93bf (diff)
[media] rtl2830: convert to use an explicit i2c mux core
Allocate an explicit i2c mux core to handle parent and child adapters etc. Update the select op to be in terms of the i2c mux core instead of the child adapter. Tested-by: Antti Palosaari <crope@iki.fi> Reviewed-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Peter Rosin <peda@axentia.se> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/media/dvb-frontends/rtl2830_priv.h')
-rw-r--r--drivers/media/dvb-frontends/rtl2830_priv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/rtl2830_priv.h b/drivers/media/dvb-frontends/rtl2830_priv.h
index cf793f39a09b..da4909543da2 100644
--- a/drivers/media/dvb-frontends/rtl2830_priv.h
+++ b/drivers/media/dvb-frontends/rtl2830_priv.h
@@ -29,7 +29,7 @@ struct rtl2830_dev {
struct rtl2830_platform_data *pdata;
struct i2c_client *client;
struct regmap *regmap;
- struct i2c_adapter *adapter;
+ struct i2c_mux_core *muxc;
struct dvb_frontend fe;
bool sleeping;
unsigned long filters;