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>
This commit is contained in:
committed by
Dan Williams
parent
5d147e7383
commit
92cd51153d
@ -113,6 +113,7 @@ static struct scsi_host_template isci_sht = {
|
|||||||
|
|
||||||
.module = THIS_MODULE,
|
.module = THIS_MODULE,
|
||||||
.name = DRV_NAME,
|
.name = DRV_NAME,
|
||||||
|
.proc_name = DRV_NAME,
|
||||||
.queuecommand = sas_queuecommand,
|
.queuecommand = sas_queuecommand,
|
||||||
.target_alloc = sas_target_alloc,
|
.target_alloc = sas_target_alloc,
|
||||||
.slave_configure = sas_slave_configure,
|
.slave_configure = sas_slave_configure,
|
||||||
|
Reference in New Issue
Block a user