]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
[SCSI] aic7xxx: sane pci probing
[mv-sheeva.git] / drivers / scsi / aic7xxx / aic7xxx_osm_pci.c
index 89d737ee551a71c978f9670fdd58a096c9f0c6ae..45ad438c9943b28af6782b4521a8808e20b843f3 100644 (file)
@@ -208,8 +208,7 @@ ahc_linux_pci_dev_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
                return (-error);
        }
        pci_set_drvdata(pdev, ahc);
-       if (aic7xxx_detect_complete)
-               ahc_linux_register_host(ahc, &aic7xxx_driver_template);
+       ahc_linux_register_host(ahc, &aic7xxx_driver_template);
        return (0);
 }