Browse Source

V4L/DVB (9630): Some boards need to specify tuner address

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab 16 years ago
parent
commit
66767920e3

+ 1 - 0
drivers/media/video/em28xx/em28xx-cards.c

@@ -1765,6 +1765,7 @@ void em28xx_card_setup(struct em28xx *dev)
 	em28xx_set_model(dev);
 	em28xx_set_model(dev);
 
 
 	dev->tuner_type = em28xx_boards[dev->model].tuner_type;
 	dev->tuner_type = em28xx_boards[dev->model].tuner_type;
+	dev->tuner_addr = em28xx_boards[dev->model].tuner_addr;
 
 
 	/* request some modules */
 	/* request some modules */
 	switch (dev->model) {
 	switch (dev->model) {

+ 1 - 0
drivers/media/video/em28xx/em28xx.h

@@ -288,6 +288,7 @@ struct em28xx_board {
 	char *name;
 	char *name;
 	int vchannels;
 	int vchannels;
 	int tuner_type;
 	int tuner_type;
+	int tuner_addr;
 
 
 	/* i2c flags */
 	/* i2c flags */
 	unsigned int tda9887_conf;
 	unsigned int tda9887_conf;