diff options
author | Antti Palosaari <crope@iki.fi> | 2015-04-15 19:33:13 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-05-18 15:53:05 -0300 |
commit | 96676239f59ca7d3db6afaf4911a4139dbeff858 (patch) | |
tree | 50d5f1ac7779285e55b16f0ed9f51f2db7833283 /drivers/media/tuners/tua9001.h | |
parent | 88ffe55ae3e5d012ddb80488d8bd1104d7b6e0aa (diff) | |
download | lwn-96676239f59ca7d3db6afaf4911a4139dbeff858.tar.gz lwn-96676239f59ca7d3db6afaf4911a4139dbeff858.zip |
[media] tua9001: remove media attach
We are using I2C client binding now, so remove old media attach.
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/tuners/tua9001.h')
-rw-r--r-- | drivers/media/tuners/tua9001.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/drivers/media/tuners/tua9001.h b/drivers/media/tuners/tua9001.h index 0b4fc8d26f52..5328ab23a9a9 100644 --- a/drivers/media/tuners/tua9001.h +++ b/drivers/media/tuners/tua9001.h @@ -21,7 +21,6 @@ #ifndef TUA9001_H #define TUA9001_H -#include <linux/kconfig.h> #include "dvb_frontend.h" /* @@ -37,13 +36,6 @@ struct tua9001_platform_data { struct dvb_frontend *dvb_frontend; }; -struct tua9001_config { - /* - * I2C address - */ - u8 i2c_addr; -}; - /* * TUA9001 I/O PINs: * @@ -64,16 +56,4 @@ struct tua9001_config { #define TUA9001_CMD_RESETN 1 #define TUA9001_CMD_RXEN 2 -#if IS_REACHABLE(CONFIG_MEDIA_TUNER_TUA9001) -extern struct dvb_frontend *tua9001_attach(struct dvb_frontend *fe, - struct i2c_adapter *i2c, struct tua9001_config *cfg); -#else -static inline struct dvb_frontend *tua9001_attach(struct dvb_frontend *fe, - struct i2c_adapter *i2c, struct tua9001_config *cfg) -{ - printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); - return NULL; -} -#endif - #endif |