18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* Copyright (C) 2018 Western Digital Corporation 38c2ecf20Sopenharmony_ci */ 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci#ifndef __UFS_SYSFS_H__ 68c2ecf20Sopenharmony_ci#define __UFS_SYSFS_H__ 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ci#include <linux/sysfs.h> 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci#include "ufshcd.h" 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_civoid ufs_sysfs_add_nodes(struct device *dev); 138c2ecf20Sopenharmony_civoid ufs_sysfs_remove_nodes(struct device *dev); 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ciextern const struct attribute_group ufs_sysfs_unit_descriptor_group; 168c2ecf20Sopenharmony_ciextern const struct attribute_group ufs_sysfs_lun_attributes_group; 178c2ecf20Sopenharmony_ci#endif 18