summaryrefslogtreecommitdiff
path: root/drivers/soundwire/sysfs_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/soundwire/sysfs_local.h')
-rw-r--r--drivers/soundwire/sysfs_local.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/soundwire/sysfs_local.h b/drivers/soundwire/sysfs_local.h
index ff60adee3c41..fa048e112629 100644
--- a/drivers/soundwire/sysfs_local.h
+++ b/drivers/soundwire/sysfs_local.h
@@ -8,7 +8,13 @@
* SDW sysfs APIs -
*/
-int sdw_slave_sysfs_init(struct sdw_slave *slave);
+/* basic attributes to report status of Slave (attachment, dev_num) */
+extern const struct attribute_group *sdw_slave_status_attr_groups[];
+
+/* attributes for all soundwire devices */
+extern const struct attribute_group *sdw_attr_groups[];
+
+/* additional device-managed properties reported after driver probe */
int sdw_slave_sysfs_dpn_init(struct sdw_slave *slave);
#endif /* __SDW_SYSFS_LOCAL_H */