kernel.h: drop inclusion in bitmap.h
[linux-2.6-microblaze.git] / include / linux / irqchip / irq-davinci-cp-intc.h
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * Copyright (C) 2019 Texas Instruments
4  */
5
6 #ifndef _LINUX_IRQ_DAVINCI_CP_INTC_
7 #define _LINUX_IRQ_DAVINCI_CP_INTC_
8
9 #include <linux/ioport.h>
10
11 /**
12  * struct davinci_cp_intc_config - configuration data for davinci-cp-intc
13  *                                 driver.
14  *
15  * @reg: register range to map
16  * @num_irqs: number of HW interrupts supported by the controller
17  */
18 struct davinci_cp_intc_config {
19         struct resource reg;
20         unsigned int num_irqs;
21 };
22
23 int davinci_cp_intc_init(const struct davinci_cp_intc_config *config);
24
25 #endif /* _LINUX_IRQ_DAVINCI_CP_INTC_ */