diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-11-16 09:05:06 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-11-16 09:05:06 -0200 |
commit | 7935f148ab5a647aa7a06b8cc0b4f509a124a961 (patch) | |
tree | 5bd15ba969d7e859fde1cad457524372a93767be /linux | |
parent | 4de4f52a7dd66fb3db11f9647a3e0d87963605d8 (diff) | |
download | mediapointer-dvb-s2-7935f148ab5a647aa7a06b8cc0b4f509a124a961.tar.gz mediapointer-dvb-s2-7935f148ab5a647aa7a06b8cc0b4f509a124a961.tar.bz2 |
Some boards need to specify tuner address
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/video/em28xx/em28xx-cards.c | 1 | ||||
-rw-r--r-- | linux/drivers/media/video/em28xx/em28xx.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/video/em28xx/em28xx-cards.c b/linux/drivers/media/video/em28xx/em28xx-cards.c index 5235410bd..0d7862ec8 100644 --- a/linux/drivers/media/video/em28xx/em28xx-cards.c +++ b/linux/drivers/media/video/em28xx/em28xx-cards.c @@ -1770,6 +1770,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/linux/drivers/media/video/em28xx/em28xx.h b/linux/drivers/media/video/em28xx/em28xx.h index b696dd429..97afac4b6 100644 --- a/linux/drivers/media/video/em28xx/em28xx.h +++ b/linux/drivers/media/video/em28xx/em28xx.h @@ -286,6 +286,7 @@ struct em28xx_board { char *name; int vchannels; int tuner_type; + int tuner_addr; /* i2c flags */ unsigned int tda9887_conf; |