]> err.no Git - linux-2.6/blobdiff - drivers/scsi/dpt_i2o.c
sg: add missing sg_init_table calls to zfcp
[linux-2.6] / drivers / scsi / dpt_i2o.c
index 9d7bdf73e1e362b2f8a73176125679bff01faf6d..8258506ba7d793d8a4fe2fd8e0e7fe4a3fb26245 100644 (file)
@@ -3295,6 +3295,7 @@ static struct scsi_host_template adpt_template = {
        .this_id                = 7,
        .cmd_per_lun            = 1,
        .use_clustering         = ENABLE_CLUSTERING,
+       .use_sg_chaining        = ENABLE_SG_CHAINING,
 };
 
 static s32 adpt_scsi_register(adpt_hba* pHba)
@@ -3346,7 +3347,7 @@ static int __init adpt_init(void)
        return count > 0 ? 0 : -ENODEV;
 }
 
-static void __exit adpt_exit(void)
+static void adpt_exit(void)
 {
        while (hba_chain)
                adpt_release(hba_chain);