Merge tag 'riscv-for-linus-5.19-mw0' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-microblaze.git] / include / linux / mei_aux.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (c) 2022, Intel Corporation. All rights reserved.
4  */
5 #ifndef _LINUX_MEI_AUX_H
6 #define _LINUX_MEI_AUX_H
7
8 #include <linux/auxiliary_bus.h>
9
10 struct mei_aux_device {
11         struct auxiliary_device aux_dev;
12         int irq;
13         struct resource bar;
14 };
15
16 #define auxiliary_dev_to_mei_aux_dev(auxiliary_dev) \
17         container_of(auxiliary_dev, struct mei_aux_device, aux_dev)
18
19 #endif /* _LINUX_MEI_AUX_H */