2019-12-28 05:56:46 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
/* Copyright (C) 2018 Western Digital Corporation
|
2018-02-15 12:14:01 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#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 12:14:09 +00:00
|
|
|
|
|
|
|
extern const struct attribute_group ufs_sysfs_unit_descriptor_group;
|
2018-02-15 12:14:11 +00:00
|
|
|
extern const struct attribute_group ufs_sysfs_lun_attributes_group;
|
2018-02-15 12:14:01 +00:00
|
|
|
#endif
|