diff options
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/sis/sis_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/sis/sis_main.c b/drivers/video/sis/sis_main.c index 5b28fa2038ff..73803624c131 100644 --- a/drivers/video/sis/sis_main.c +++ b/drivers/video/sis/sis_main.c | |||
@@ -4621,9 +4621,9 @@ sisfb_find_host_bridge(struct sis_video_info *ivideo, struct pci_dev *mypdev, | |||
4621 | 4621 | ||
4622 | while((pdev = pci_get_class(PCI_CLASS_BRIDGE_HOST, pdev))) { | 4622 | while((pdev = pci_get_class(PCI_CLASS_BRIDGE_HOST, pdev))) { |
4623 | temp = pdev->vendor; | 4623 | temp = pdev->vendor; |
4624 | pci_dev_put(pdev); | ||
4625 | if(temp == pcivendor) { | 4624 | if(temp == pcivendor) { |
4626 | ret = 1; | 4625 | ret = 1; |
4626 | pci_dev_put(pdev); | ||
4627 | break; | 4627 | break; |
4628 | } | 4628 | } |
4629 | } | 4629 | } |