2018-02-15 20:14:01 +08:00
|
|
|
/* 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);
|
2018-02-15 20:14:09 +08:00
|
|
|
|
|
|
|
extern const struct attribute_group ufs_sysfs_unit_descriptor_group;
|
2018-02-15 20:14:11 +08:00
|
|
|
extern const struct attribute_group ufs_sysfs_lun_attributes_group;
|
2018-02-15 20:14:01 +08:00
|
|
|
#endif
|