diff options
author | Antti Palosaari <crope@iki.fi> | 2015-04-15 01:15:09 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-05-18 20:46:45 +0200 |
commit | ef39830dda3dfa16a7fade96c0625cda55eb6209 (patch) | |
tree | 3a6cb3f333bb608ddb215e51540809f7a7f29da2 /drivers/media/tuners/fc2580.h | |
parent | [media] af9035: bind fc2580 using I2C binding (diff) | |
download | linux-ef39830dda3dfa16a7fade96c0625cda55eb6209.tar.xz linux-ef39830dda3dfa16a7fade96c0625cda55eb6209.zip |
[media] fc2580: remove obsolete media attach
All users are using driver via I2C client binding so lets remove
unneeded media binding.
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/tuners/fc2580.h')
-rw-r--r-- | drivers/media/tuners/fc2580.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/drivers/media/tuners/fc2580.h b/drivers/media/tuners/fc2580.h index 5679e44980f9..61ee0e826cb9 100644 --- a/drivers/media/tuners/fc2580.h +++ b/drivers/media/tuners/fc2580.h @@ -21,7 +21,6 @@ #ifndef FC2580_H #define FC2580_H -#include <linux/kconfig.h> #include "dvb_frontend.h" /* @@ -39,29 +38,4 @@ struct fc2580_platform_data { struct dvb_frontend *dvb_frontend; }; -struct fc2580_config { - /* - * I2C address - * 0x56, ... - */ - u8 i2c_addr; - - /* - * clock - */ - u32 clock; -}; - -#if IS_REACHABLE(CONFIG_MEDIA_TUNER_FC2580) -extern struct dvb_frontend *fc2580_attach(struct dvb_frontend *fe, - struct i2c_adapter *i2c, const struct fc2580_config *cfg); -#else -static inline struct dvb_frontend *fc2580_attach(struct dvb_frontend *fe, - struct i2c_adapter *i2c, const struct fc2580_config *cfg) -{ - pr_warn("%s: driver disabled by Kconfig\n", __func__); - return NULL; -} -#endif - #endif |