diff options
author | Stanislav Nijnikov <stanislav.nijnikov@wdc.com> | 2018-02-15 13:14:01 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-02-16 00:34:24 +0100 |
commit | cbb6813ee771abc17a713432f31820581eafd4ae (patch) | |
tree | a63d6143f360924111ae1b4ccd2b4389df33f8df /drivers/scsi/ufs/ufs-sysfs.h | |
parent | scsi: scsi_debug: call resp_*() function after setting host_scribble (diff) | |
download | linux-cbb6813ee771abc17a713432f31820581eafd4ae.tar.xz 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 |