Skip to content

Commit

Permalink
isci: Initialize proc_name field in scsi_host_template
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Havard Skinnemoen authored and Dan Williams committed Jul 3, 2011
1 parent 5d147e7 commit 92cd511
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/scsi/isci/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 92cd511

Please sign in to comment.