diff options
Diffstat (limited to 'drivers/media/common/tuners/xc5000.h')
-rw-r--r-- | drivers/media/common/tuners/xc5000.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/media/common/tuners/xc5000.h b/drivers/media/common/tuners/xc5000.h index 5389f740945a..cf1a558e0e7f 100644 --- a/drivers/media/common/tuners/xc5000.h +++ b/drivers/media/common/tuners/xc5000.h | |||
@@ -30,8 +30,6 @@ struct i2c_adapter; | |||
30 | struct xc5000_config { | 30 | struct xc5000_config { |
31 | u8 i2c_address; | 31 | u8 i2c_address; |
32 | u32 if_khz; | 32 | u32 if_khz; |
33 | |||
34 | int (*tuner_callback) (void *priv, int command, int arg); | ||
35 | }; | 33 | }; |
36 | 34 | ||
37 | /* xc5000 callback command */ | 35 | /* xc5000 callback command */ |
@@ -49,13 +47,11 @@ struct xc5000_config { | |||
49 | (defined(CONFIG_MEDIA_TUNER_XC5000_MODULE) && defined(MODULE)) | 47 | (defined(CONFIG_MEDIA_TUNER_XC5000_MODULE) && defined(MODULE)) |
50 | extern struct dvb_frontend* xc5000_attach(struct dvb_frontend *fe, | 48 | extern struct dvb_frontend* xc5000_attach(struct dvb_frontend *fe, |
51 | struct i2c_adapter *i2c, | 49 | struct i2c_adapter *i2c, |
52 | struct xc5000_config *cfg, | 50 | struct xc5000_config *cfg); |
53 | void *devptr); | ||
54 | #else | 51 | #else |
55 | static inline struct dvb_frontend* xc5000_attach(struct dvb_frontend *fe, | 52 | static inline struct dvb_frontend* xc5000_attach(struct dvb_frontend *fe, |
56 | struct i2c_adapter *i2c, | 53 | struct i2c_adapter *i2c, |
57 | struct xc5000_config *cfg, | 54 | struct xc5000_config *cfg) |
58 | void *devptr) | ||
59 | { | 55 | { |
60 | printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); | 56 | printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); |
61 | return NULL; | 57 | return NULL; |