summaryrefslogtreecommitdiff
path: root/sound/soc/sdca/sdca_function_device.h
blob: 5adf7551d3a448010e76582e6ec0ea9e44c26fef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
/* Copyright(c) 2024 Intel Corporation. */

#ifndef __SDCA_FUNCTION_DEVICE_H
#define __SDCA_FUNCTION_DEVICE_H

struct sdca_dev {
	struct auxiliary_device auxdev;
	struct sdca_function_data function;
};

#define auxiliary_dev_to_sdca_dev(auxiliary_dev)		\
	container_of(auxiliary_dev, struct sdca_dev, auxdev)

#endif