diff options
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-core.c')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-core.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/media/video/saa7134/saa7134-core.c b/drivers/media/video/saa7134/saa7134-core.c index 5c9e63dfbea6..ed038fff3b4f 100644 --- a/drivers/media/video/saa7134/saa7134-core.c +++ b/drivers/media/video/saa7134/saa7134-core.c | |||
@@ -889,15 +889,16 @@ static int __devinit saa7134_initdev(struct pci_dev *pci_dev, | |||
889 | must_configure_manually(); | 889 | must_configure_manually(); |
890 | dev->board = SAA7134_BOARD_UNKNOWN; | 890 | dev->board = SAA7134_BOARD_UNKNOWN; |
891 | } | 891 | } |
892 | dev->autodetected = card[dev->nr] != dev->board; | ||
892 | dev->tuner_type = saa7134_boards[dev->board].tuner_type; | 893 | dev->tuner_type = saa7134_boards[dev->board].tuner_type; |
893 | dev->tda9887_conf = saa7134_boards[dev->board].tda9887_conf; | 894 | dev->tda9887_conf = saa7134_boards[dev->board].tda9887_conf; |
894 | if (UNSET != tuner[dev->nr]) | 895 | if (UNSET != tuner[dev->nr]) |
895 | dev->tuner_type = tuner[dev->nr]; | 896 | dev->tuner_type = tuner[dev->nr]; |
896 | printk(KERN_INFO "%s: subsystem: %04x:%04x, board: %s [card=%d,%s]\n", | 897 | printk(KERN_INFO "%s: subsystem: %04x:%04x, board: %s [card=%d,%s]\n", |
897 | dev->name,pci_dev->subsystem_vendor, | 898 | dev->name,pci_dev->subsystem_vendor, |
898 | pci_dev->subsystem_device,saa7134_boards[dev->board].name, | 899 | pci_dev->subsystem_device,saa7134_boards[dev->board].name, |
899 | dev->board, card[dev->nr] == dev->board ? | 900 | dev->board, dev->autodetected ? |
900 | "insmod option" : "autodetected"); | 901 | "autodetected" : "insmod option"); |
901 | 902 | ||
902 | /* get mmio */ | 903 | /* get mmio */ |
903 | if (!request_mem_region(pci_resource_start(pci_dev,0), | 904 | if (!request_mem_region(pci_resource_start(pci_dev,0), |