summaryrefslogtreecommitdiff
path: root/drivers/scsi/ufs/ufs-sysfs.h
diff options
context:
space:
mode:
authorStanislav Nijnikov <stanislav.nijnikov@wdc.com>2018-02-15 15:14:09 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2018-02-16 02:35:04 +0300
commitd829fc8a1058851f1058b4a29ea02da125c1684a (patch)
treebaf7a82c8c97a92ab0cacf794ee88e4853c19e3f /drivers/scsi/ufs/ufs-sysfs.h
parent86b87cde0b5581cdb1a7babeb9c4c387761f151b (diff)
downloadlinux-d829fc8a1058851f1058b4a29ea02da125c1684a.tar.xz
scsi: ufs: sysfs: unit descriptor
This patch introduces a sysfs group entry for the UFS unit descriptor parameters. The group adds "unit_descriptor" folder under the corresponding SCSI device sysfs entry (/sys/class/scsi_device/*/device/). The parameters are shown as hexadecimal numbers. The full information about the parameters could be found at UFS specifications 2.1. Signed-off-by: Stanislav Nijnikov <stanislav.nijnikov@wdc.com> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ufs/ufs-sysfs.h')
-rw-r--r--drivers/scsi/ufs/ufs-sysfs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/ufs/ufs-sysfs.h b/drivers/scsi/ufs/ufs-sysfs.h
index ce58861f548a..2afce169a9f0 100644
--- a/drivers/scsi/ufs/ufs-sysfs.h
+++ b/drivers/scsi/ufs/ufs-sysfs.h
@@ -11,4 +11,6 @@
void ufs_sysfs_add_nodes(struct device *dev);
void ufs_sysfs_remove_nodes(struct device *dev);
+
+extern const struct attribute_group ufs_sysfs_unit_descriptor_group;
#endif