]> err.no Git - linux-2.6/blobdiff - drivers/scsi/aic7xxx/aic7770_osm.c
Merge commit 'v2.6.27-rc1' into x86/urgent
[linux-2.6] / drivers / scsi / aic7xxx / aic7770_osm.c
index 867cbe23579b6310f583187c4b927494f4edb54b..f220e5e436ab9b762f42bda40365be70580da4ad 100644 (file)
@@ -50,7 +50,7 @@ aic7770_map_registers(struct ahc_softc *ahc, u_int port)
        /*
         * Lock out other contenders for our i/o space.
         */
-       if (request_region(port, AHC_EISA_IOSIZE, "aic7xxx") == 0)
+       if (!request_region(port, AHC_EISA_IOSIZE, "aic7xxx"))
                return (ENOMEM);
        ahc->tag = BUS_SPACE_PIO;
        ahc->bsh.ioport = port;
@@ -132,7 +132,8 @@ static struct eisa_device_id aic7770_ids[] = {
        { "ADP7770", 5 }, /* AIC7770 generic */
        { "" }
 };
-  
+MODULE_DEVICE_TABLE(eisa, aic7770_ids);
+
 static struct eisa_driver aic7770_driver = {
        .id_table       = aic7770_ids,
        .driver = {