isci: Initialize proc_name field in scsi_host_template
authorHavard Skinnemoen <hskinnemoen@google.com>
Sat, 19 Feb 2011 02:32:08 +0000 (18:32 -0800)
committerDan Williams <dan.j.williams@intel.com>
Sun, 3 Jul 2011 10:55:27 +0000 (03:55 -0700)
The proc_name field in struct scsi_host_template is exported through sysfs and
allows userspace tools to identify the driver behind a particular SCSI host
controller.

Initialize this field so that userspace tools can easily identify isci host
controllers through sysfs.

Signed-off-by: Havard Skinnemoen <hskinnemoen@google.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/scsi/isci/init.c

index 4d6decb6d08ce75033a5bf10d6cd9e71409d57cd..fda26292ba2b426322b87676b84a2427f1ff2405 100644 (file)
@@ -113,6 +113,7 @@ static struct scsi_host_template isci_sht = {
 
        .module                         = THIS_MODULE,
        .name                           = DRV_NAME,
+       .proc_name                      = DRV_NAME,
        .queuecommand                   = sas_queuecommand,
        .target_alloc                   = sas_target_alloc,
        .slave_configure                = sas_slave_configure,