V4L/DVB (9630): Some boards need to specify tuner address
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 16 Nov 2008 11:05:06 +0000 (08:05 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 29 Dec 2008 19:53:34 +0000 (17:53 -0200)
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/em28xx/em28xx-cards.c
drivers/media/video/em28xx/em28xx.h

index 75b2af2bf4cf5896c2ca6db137228104c4fcde42..28f64e0b0b4ba7509f62bac4a0f4e996e4a254d5 100644 (file)
@@ -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) {
index 9ff3c83e63d0131a3121f3557059f588c87b7377..3152d00e548b560313b6da0c8dc2f056cd000c0c 100644 (file)
@@ -288,6 +288,7 @@ struct em28xx_board {
        char *name;
        int vchannels;
        int tuner_type;
+       int tuner_addr;
 
        /* i2c flags */
        unsigned int tda9887_conf;