xref: /linux/drivers/ufs/core/ufs-sysfs.h (revision 702648721db590b3425c31ade294000e18808345)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (C) 2018 Western Digital Corporation
3  */
4 
5 #ifndef __UFS_SYSFS_H__
6 #define __UFS_SYSFS_H__
7 
8 #include <linux/sysfs.h>
9 
10 struct device;
11 
12 void ufs_sysfs_add_nodes(struct device *dev);
13 void ufs_sysfs_remove_nodes(struct device *dev);
14 
15 extern const struct attribute_group ufs_sysfs_unit_descriptor_group;
16 extern const struct attribute_group ufs_sysfs_lun_attributes_group;
17 
18 #endif
19