xref: /linux/drivers/soundwire/sysfs_local.h (revision 0526b56cbc3c489642bd6a5fe4b718dea7ef0ee8)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* Copyright(c) 2015-2020 Intel Corporation. */
3 
4 #ifndef __SDW_SYSFS_LOCAL_H
5 #define __SDW_SYSFS_LOCAL_H
6 
7 /*
8  * SDW sysfs APIs -
9  */
10 
11 /* basic attributes to report status of Slave (attachment, dev_num) */
12 extern const struct attribute_group *sdw_slave_status_attr_groups[];
13 
14 /* additional device-managed properties reported after driver probe */
15 int sdw_slave_sysfs_init(struct sdw_slave *slave);
16 int sdw_slave_sysfs_dpn_init(struct sdw_slave *slave);
17 
18 #endif /* __SDW_SYSFS_LOCAL_H */
19