libmetal
irq.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2016, Xilinx Inc. and Contributors. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 /*
8  * @file linux/irq.h
9  * @brief Linux libmetal irq definitions.
10  */
11 
12 #ifndef __METAL_IRQ__H__
13 #error "Include metal/irq.h instead of metal/linux/irq.h"
14 #endif
15 
16 #ifndef __METAL_LINUX_IRQ__H__
17 #ifdef METAL_INTERNAL
18 
19 #include <metal/device.h>
20 
30 void metal_linux_irq_register_dev(struct metal_device *dev, int irq);
31 
32 #endif /* METAL_INTERNAL */
33 #define __METAL_LINUX_IRQ__H__
34 
35 #endif /* __METAL_LINUX_IRQ__H__ */
Definition: device.h:72
void metal_linux_irq_register_dev(struct metal_device *dev, int irq)
Definition: irq.c:267