diff options
author | Stanislav Nijnikov <stanislav.nijnikov@wdc.com> | 2018-02-15 14:14:01 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-02-15 18:34:24 -0500 |
commit | cbb6813ee771abc17a713432f31820581eafd4ae (patch) | |
tree | a63d6143f360924111ae1b4ccd2b4389df33f8df /drivers/scsi/ufs/ufs-sysfs.h | |
parent | f66b85171a0ebd55a7efc3e82575ae187d62322c (diff) | |
download | linux-cbb6813ee771abc17a713432f31820581eafd4ae.tar.gz linux-cbb6813ee771abc17a713432f31820581eafd4ae.tar.bz2 linux-cbb6813ee771abc17a713432f31820581eafd4ae.zip |
scsi: ufs: sysfs: attribute group for existing sysfs entries.
This patch introduces attribute group to show existing sysfs entries.
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.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/scsi/ufs/ufs-sysfs.h b/drivers/scsi/ufs/ufs-sysfs.h new file mode 100644 index 000000000000..ce58861f548a --- /dev/null +++ b/drivers/scsi/ufs/ufs-sysfs.h @@ -0,0 +1,14 @@ +/* SPDX-License-Identifier: GPL-2.0 + * Copyright (C) 2018 Western Digital Corporation + */ + +#ifndef __UFS_SYSFS_H__ +#define __UFS_SYSFS_H__ + +#include <linux/sysfs.h> + +#include "ufshcd.h" + +void ufs_sysfs_add_nodes(struct device *dev); +void ufs_sysfs_remove_nodes(struct device *dev); +#endif |