diff options
Diffstat (limited to 'include/media/tuner.h')
-rw-r--r-- | include/media/tuner.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/media/tuner.h b/include/media/tuner.h index fe567129b22b..a41ac41113ac 100644 --- a/include/media/tuner.h +++ b/include/media/tuner.h | |||
@@ -173,15 +173,12 @@ enum tuner_mode { | |||
173 | when the tuner is set to TV mode. | 173 | when the tuner is set to TV mode. |
174 | */ | 174 | */ |
175 | 175 | ||
176 | /* allows to access the GPIOs of the host (pci bridge) */ | ||
177 | typedef void (*tuner_gpio_func_t) (void *dev, int bit_no,int value); | ||
178 | |||
179 | struct tuner_setup { | 176 | struct tuner_setup { |
180 | unsigned short addr; /* I2C address */ | 177 | unsigned short addr; /* I2C address */ |
181 | unsigned int type; /* Tuner type */ | 178 | unsigned int type; /* Tuner type */ |
182 | unsigned int mode_mask; /* Allowed tuner modes */ | 179 | unsigned int mode_mask; /* Allowed tuner modes */ |
183 | unsigned int config; /* configuraion for more complex tuners */ | 180 | unsigned int config; /* configuraion for more complex tuners */ |
184 | tuner_gpio_func_t gpio_func; | 181 | int (*tuner_callback) (void *dev, int command,int arg); |
185 | }; | 182 | }; |
186 | 183 | ||
187 | struct tuner { | 184 | struct tuner { |
@@ -215,8 +212,9 @@ struct tuner { | |||
215 | unsigned char tda827x_addr; | 212 | unsigned char tda827x_addr; |
216 | unsigned char tda827x_ver; | 213 | unsigned char tda827x_ver; |
217 | unsigned int sgIF; | 214 | unsigned int sgIF; |
215 | |||
218 | unsigned int config; | 216 | unsigned int config; |
219 | tuner_gpio_func_t gpio_func; | 217 | int (*tuner_callback) (void *dev, int command,int arg); |
220 | 218 | ||
221 | /* function ptrs */ | 219 | /* function ptrs */ |
222 | void (*set_tv_freq)(struct i2c_client *c, unsigned int freq); | 220 | void (*set_tv_freq)(struct i2c_client *c, unsigned int freq); |