V4L/DVB (5719): Tuner: Move device-specific private data out of tuner struct

Create private data struct for device specific private data.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
Michael Krufky
2007-05-29 22:54:06 -03:00
committed by Mauro Carvalho Chehab
parent 56584c9ea9
commit b208319993
5 changed files with 117 additions and 72 deletions

View File

@@ -199,21 +199,10 @@ struct tuner {
v4l2_std_id std;
int using_v4l2;
void *priv;
/* used by tda9887 */
unsigned int tda9887_config;
unsigned char tda9887_data[4];
/* used by MT2032 */
unsigned int xogc;
unsigned int radio_if2;
/* used by tda8290 */
unsigned char tda8290_easy_mode;
unsigned char tda827x_lpsel;
unsigned char tda827x_addr;
unsigned char tda827x_ver;
unsigned int sgIF;
unsigned int config;
int (*tuner_callback) (void *dev, int command,int arg);