diff options
Diffstat (limited to 'linux/drivers/media/video/tuner-driver.h')
-rw-r--r-- | linux/drivers/media/video/tuner-driver.h | 29 |
1 files changed, 2 insertions, 27 deletions
diff --git a/linux/drivers/media/video/tuner-driver.h b/linux/drivers/media/video/tuner-driver.h index 65ced4350..5eaa30ccb 100644 --- a/linux/drivers/media/video/tuner-driver.h +++ b/linux/drivers/media/video/tuner-driver.h @@ -22,8 +22,6 @@ #ifndef __TUNER_DRIVER_H__ #define __TUNER_DRIVER_H__ -#include <linux/videodev2.h> -#include <linux/i2c.h> #include "dvb_frontend.h" extern unsigned const int tuner_count; @@ -45,32 +43,9 @@ struct analog_tuner_ops { void (*standby)(struct dvb_frontend *fe); void (*release)(struct dvb_frontend *fe); int (*i2c_gate_ctrl)(struct dvb_frontend *fe, int enable); -}; - -struct tuner { - /* device */ - struct i2c_client *i2c; - struct list_head list; /* list of tuners */ - - unsigned int type; /* chip type */ - - unsigned int mode; - unsigned int mode_mask; /* Combination of allowable modes */ - - unsigned int tv_freq; /* keep track of the current settings */ - unsigned int radio_freq; - unsigned int audmode; - v4l2_std_id std; - - int using_v4l2; - - struct dvb_frontend fe; - - /* used by tda9887 */ - unsigned int tda9887_config; - unsigned int config; - int (*tuner_callback) (void *dev, int command,int arg); + /** This is to allow setting tuner-specific configuration */ + int (*set_config)(struct dvb_frontend *fe, void *priv_cfg); }; #endif /* __TUNER_DRIVER_H__ */ |