1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
2 /* Copyright(c) 2015-2022 Intel Corporation. */
3 
4 #ifndef __SDW_INTEL_AUXDEVICE_H
5 #define __SDW_INTEL_AUXDEVICE_H
6 
7 int intel_link_startup(struct auxiliary_device *auxdev);
8 int intel_link_process_wakeen_event(struct auxiliary_device *auxdev);
9 
10 struct sdw_intel_link_dev {
11 	struct auxiliary_device auxdev;
12 	struct sdw_intel_link_res link_res;
13 };
14 
15 #define auxiliary_dev_to_sdw_intel_link_dev(auxiliary_dev) \
16 	container_of(auxiliary_dev, struct sdw_intel_link_dev, auxdev)
17 
18 #endif /* __SDW_INTEL_AUXDEVICE_H */
19