sysfs_local.h 530 B

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