VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git] / drivers / scsi / aic7xxx / aic7xxx_osm_pci.c
index 1b575ad..2a6fc40 100644 (file)
@@ -198,7 +198,8 @@ int
 ahc_linux_pci_init(void)
 {
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0)
-       return (pci_module_init(&aic7xxx_pci_driver));
+       /* Translate error or zero return into zero or one */
+       return pci_module_init(&aic7xxx_pci_driver) ? 0 : 1;
 #else
        struct pci_dev *pdev;
        u_int class;