[SCSI] zfcp: Add zfcp private struct as SCSI device driver data
[linux-3.10.git] / drivers / s390 / scsi / zfcp_aux.c
index 68df571..5c4b874 100644 (file)
@@ -159,6 +159,9 @@ static int __init zfcp_module_init(void)
                fc_attach_transport(&zfcp_transport_functions);
        if (!zfcp_data.scsi_transport_template)
                goto out_transport;
+       scsi_transport_reserve_device(zfcp_data.scsi_transport_template,
+                                     sizeof(struct zfcp_scsi_dev));
+
 
        retval = misc_register(&zfcp_cfdc_misc);
        if (retval) {