From: Havard Skinnemoen Date: Sat, 19 Feb 2011 02:32:08 +0000 (-0800) Subject: isci: Initialize proc_name field in scsi_host_template X-Git-Tag: firefly_0821_release~3680^2~5121^2~1^2~252 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=92cd51153d5c18af027ddf42547d59ba4167873c;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Dan Williams --- 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 = { .module = THIS_MODULE, .name = DRV_NAME, + .proc_name = DRV_NAME, .queuecommand = sas_queuecommand, .target_alloc = sas_target_alloc, .slave_configure = sas_slave_configure,