Commit | Line | Data |
---|---|---|
1e3dc1d8 TW |
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 */ |