From: Mauro Carvalho Chehab Date: Sun, 16 Nov 2008 11:05:06 +0000 (-0300) Subject: V4L/DVB (9630): Some boards need to specify tuner address X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=66767920e3e6532db8afe04f9b2d8e1a9e95cad9;p=linux-beck.git V4L/DVB (9630): Some boards need to specify tuner address Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c index 75b2af2bf4cf..28f64e0b0b4b 100644 --- a/drivers/media/video/em28xx/em28xx-cards.c +++ b/drivers/media/video/em28xx/em28xx-cards.c @@ -1765,6 +1765,7 @@ void em28xx_card_setup(struct em28xx *dev) em28xx_set_model(dev); dev->tuner_type = em28xx_boards[dev->model].tuner_type; + dev->tuner_addr = em28xx_boards[dev->model].tuner_addr; /* request some modules */ switch (dev->model) { diff --git a/drivers/media/video/em28xx/em28xx.h b/drivers/media/video/em28xx/em28xx.h index 9ff3c83e63d0..3152d00e548b 100644 --- a/drivers/media/video/em28xx/em28xx.h +++ b/drivers/media/video/em28xx/em28xx.h @@ -288,6 +288,7 @@ struct em28xx_board { char *name; int vchannels; int tuner_type; + int tuner_addr; /* i2c flags */ unsigned int tda9887_conf;