summaryrefslogtreecommitdiff
path: root/drivers/scsi/ufs/ufs-sysfs.h
diff options
context:
space:
mode:
authorStanislav Nijnikov <stanislav.nijnikov@wdc.com>2018-02-15 14:14:11 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2018-02-15 18:35:05 -0500
commitec92b59cc03c3d5757449c1c9344524e088df2bd (patch)
treed6832dc7bfcc2699a97a4a91752b72bcf58d9049 /drivers/scsi/ufs/ufs-sysfs.h
parentd10b2a8ea8fd0d6c8a667dc1950c8c061bfbbcdd (diff)
scsi: ufs: sysfs: attributes
This patch introduces a sysfs group entry for the UFS attributes. The group adds "attributes" folder under the UFS driver sysfs entry (/sys/bus/platform/drivers/ufshcd/*). The attributes are shown as hexadecimal numbers. The full information about the attributes 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/ufs/ufs-sysfs.h b/drivers/scsi/ufs/ufs-sysfs.h
index 2afce169a9f0..e5621e59a432 100644
--- a/drivers/scsi/ufs/ufs-sysfs.h
+++ b/drivers/scsi/ufs/ufs-sysfs.h
@@ -13,4 +13,5 @@ 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;
+extern const struct attribute_group ufs_sysfs_lun_attributes_group;
#endif