aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/em28xx
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-11-16 08:05:06 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-29 17:53:34 -0200
commit66767920e3e6532db8afe04f9b2d8e1a9e95cad9 (patch)
tree3da576ed2797653623cfde651ccfbf6fa165668b /drivers/media/video/em28xx
parent60245e858ddb2255d458868be16ba814f6f8d446 (diff)
downloadkernel_samsung_smdk4412-66767920e3e6532db8afe04f9b2d8e1a9e95cad9.zip
kernel_samsung_smdk4412-66767920e3e6532db8afe04f9b2d8e1a9e95cad9.tar.gz
kernel_samsung_smdk4412-66767920e3e6532db8afe04f9b2d8e1a9e95cad9.tar.bz2
V4L/DVB (9630): Some boards need to specify tuner address
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/em28xx')
-rw-r--r--drivers/media/video/em28xx/em28xx-cards.c1
-rw-r--r--drivers/media/video/em28xx/em28xx.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c
index 75b2af2..28f64e0 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 9ff3c83..3152d00 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;