From e1174d788aa2f4f21160860fe2be1ead8ee90851 Mon Sep 17 00:00:00 2001 From: Antti Palosaari Date: Sat, 13 Dec 2014 05:26:27 -0300 Subject: [media] rtl2832: move all configuration to platform data struct Move all needed configuration values to platform data structure and remove old configuration code where possible. Signed-off-by: Antti Palosaari Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/rtl2832_priv.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'drivers/media/dvb-frontends/rtl2832_priv.h') diff --git a/drivers/media/dvb-frontends/rtl2832_priv.h b/drivers/media/dvb-frontends/rtl2832_priv.h index 58feb27b253f..899533241925 100644 --- a/drivers/media/dvb-frontends/rtl2832_priv.h +++ b/drivers/media/dvb-frontends/rtl2832_priv.h @@ -26,17 +26,15 @@ #include struct rtl2832_dev { + struct rtl2832_platform_data *pdata; struct i2c_client *client; - struct i2c_adapter *i2c; struct i2c_adapter *i2c_adapter; struct i2c_adapter *i2c_adapter_tuner; struct dvb_frontend fe; - struct rtl2832_config cfg; bool i2c_gate_state; bool sleeping; - u8 tuner; u8 page; /* active register page */ struct delayed_work i2c_gate_work; }; -- cgit