diff options
author | Havard Skinnemoen <hskinnemoen@google.com> | 2011-02-18 21:32:08 -0500 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-07-03 06:55:27 -0400 |
commit | 92cd51153d5c18af027ddf42547d59ba4167873c (patch) | |
tree | 901cd6a2a0a4f71b4956da4d3c1ae52a51335556 | |
parent | 5d147e73836723b81fd72b078e78887598999d5a (diff) |
isci: Initialize proc_name field in scsi_host_template
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>
-rw-r--r-- | drivers/scsi/isci/init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/isci/init.c b/drivers/scsi/isci/init.c index 4d6decb6d08c..fda26292ba2b 100644 --- a/drivers/scsi/isci/init.c +++ b/drivers/scsi/isci/init.c | |||
@@ -113,6 +113,7 @@ static struct scsi_host_template isci_sht = { | |||
113 | 113 | ||
114 | .module = THIS_MODULE, | 114 | .module = THIS_MODULE, |
115 | .name = DRV_NAME, | 115 | .name = DRV_NAME, |
116 | .proc_name = DRV_NAME, | ||
116 | .queuecommand = sas_queuecommand, | 117 | .queuecommand = sas_queuecommand, |
117 | .target_alloc = sas_target_alloc, | 118 | .target_alloc = sas_target_alloc, |
118 | .slave_configure = sas_slave_configure, | 119 | .slave_configure = sas_slave_configure, |