diff options
author | Antti Palosaari <crope@iki.fi> | 2014-08-04 06:05:31 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-09-22 03:04:55 +0400 |
commit | 0e584cc29567f9ad248420f9cbd35c0ae3b5e821 (patch) | |
tree | bd5fbd3adc78f23f78b467aa5edbe44dbc20e60d /drivers/media/tuners/tda18212.h | |
parent | ac7a24fb7560217381d996aae68eda57bbce462a (diff) | |
download | linux-0e584cc29567f9ad248420f9cbd35c0ae3b5e821.tar.xz |
[media] tda18212: convert driver to I2C binding
Convert driver from DVB proprietary model to common I2C model.
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/tuners/tda18212.h')
-rw-r--r-- | drivers/media/tuners/tda18212.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/media/tuners/tda18212.h b/drivers/media/tuners/tda18212.h index 265559a4306d..e58c9096d79c 100644 --- a/drivers/media/tuners/tda18212.h +++ b/drivers/media/tuners/tda18212.h @@ -25,8 +25,6 @@ #include "dvb_frontend.h" struct tda18212_config { - u8 i2c_address; - u16 if_dvbt_6; u16 if_dvbt_7; u16 if_dvbt_8; @@ -44,16 +42,4 @@ struct tda18212_config { struct dvb_frontend *fe; }; -#if IS_ENABLED(CONFIG_MEDIA_TUNER_TDA18212) -extern struct dvb_frontend *tda18212_attach(struct dvb_frontend *fe, - struct i2c_adapter *i2c, struct tda18212_config *cfg); -#else -static inline struct dvb_frontend *tda18212_attach(struct dvb_frontend *fe, - struct i2c_adapter *i2c, struct tda18212_config *cfg) -{ - printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); - return NULL; -} -#endif - #endif |