summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/mn88472_priv.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2014-10-26 23:01:07 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-11-14 17:21:04 -0200
commit528af1952ec04c86d554992021f62cd76fc8b19c (patch)
treec25ecf8d455316524d0ad0235c599d7e9e7a7907 /drivers/media/dvb-frontends/mn88472_priv.h
parent0186e434a7f8c9520570a75775d8096ff3ccb454 (diff)
downloadlwn-528af1952ec04c86d554992021f62cd76fc8b19c.tar.gz
lwn-528af1952ec04c86d554992021f62cd76fc8b19c.zip
[media] mn88472: convert driver to I2C client
It uses I2C bus so better to implement it as a standard I2C driver model. It was using proprietary DVB 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/mn88472_priv.h')
-rw-r--r--drivers/media/dvb-frontends/mn88472_priv.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/media/dvb-frontends/mn88472_priv.h b/drivers/media/dvb-frontends/mn88472_priv.h
index be31adb95ba2..0fde80cafa66 100644
--- a/drivers/media/dvb-frontends/mn88472_priv.h
+++ b/drivers/media/dvb-frontends/mn88472_priv.h
@@ -19,16 +19,14 @@
#include "dvb_frontend.h"
#include "mn88472.h"
-#include "dvb_math.h"
#include <linux/firmware.h>
-#include <linux/i2c-mux.h>
#define MN88472_FIRMWARE "dvb-demod-mn88472-02.fw"
struct mn88472_dev {
- struct i2c_adapter *i2c;
- const struct mn88472_config *cfg;
+ struct i2c_client *client[3];
struct dvb_frontend fe;
+ u16 i2c_wr_max;
fe_delivery_system_t delivery_system;
bool warm; /* FW running */
};