Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Copyright (c) 2022, Intel Corporation. All rights reserved.
0004  */
0005 #ifndef _LINUX_MEI_AUX_H
0006 #define _LINUX_MEI_AUX_H
0007 
0008 #include <linux/auxiliary_bus.h>
0009 
0010 struct mei_aux_device {
0011     struct auxiliary_device aux_dev;
0012     int irq;
0013     struct resource bar;
0014 };
0015 
0016 #define auxiliary_dev_to_mei_aux_dev(auxiliary_dev) \
0017     container_of(auxiliary_dev, struct mei_aux_device, aux_dev)
0018 
0019 #endif /* _LINUX_MEI_AUX_H */