Debian Codegraph @

sound/soc/sdca/sdca_function_device.h

raw
1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
2 /* Copyright(c) 2024 Intel Corporation. */
3
4 #ifndef __SDCA_FUNCTION_DEVICE_H
5 #define __SDCA_FUNCTION_DEVICE_H
6
7 struct sdca_dev {
8 struct auxiliary_device auxdev;
9 struct sdca_function_data function;
10 };
11
12 #define auxiliary_dev_to_sdca_dev(auxiliary_dev) \
13 container_of(auxiliary_dev, struct sdca_dev, auxdev)
14
15 #endif