diff options
-rw-r--r-- | arch/arm/mach-omap2/common.h | 10 | ||||
-rw-r--r-- | include/linux/irqchip/irq-omap-intc.h | 32 |
2 files changed, 33 insertions, 9 deletions
diff --git a/arch/arm/mach-omap2/common.h b/arch/arm/mach-omap2/common.h index 180009343adb..377eea849e7b 100644 --- a/arch/arm/mach-omap2/common.h +++ b/arch/arm/mach-omap2/common.h | |||
@@ -32,6 +32,7 @@ | |||
32 | #include <linux/i2c/twl.h> | 32 | #include <linux/i2c/twl.h> |
33 | #include <linux/i2c-omap.h> | 33 | #include <linux/i2c-omap.h> |
34 | #include <linux/reboot.h> | 34 | #include <linux/reboot.h> |
35 | #include <linux/irqchip/irq-omap-intc.h> | ||
35 | 36 | ||
36 | #include <asm/proc-fns.h> | 37 | #include <asm/proc-fns.h> |
37 | 38 | ||
@@ -210,15 +211,6 @@ extern struct device *omap2_get_iva_device(void); | |||
210 | extern struct device *omap2_get_l3_device(void); | 211 | extern struct device *omap2_get_l3_device(void); |
211 | extern struct device *omap4_get_dsp_device(void); | 212 | extern struct device *omap4_get_dsp_device(void); |
212 | 213 | ||
213 | void omap2_init_irq(void); | ||
214 | void omap3_init_irq(void); | ||
215 | void ti81xx_init_irq(void); | ||
216 | extern int omap_irq_pending(void); | ||
217 | void omap_intc_save_context(void); | ||
218 | void omap_intc_restore_context(void); | ||
219 | void omap3_intc_suspend(void); | ||
220 | void omap3_intc_prepare_idle(void); | ||
221 | void omap3_intc_resume_idle(void); | ||
222 | void omap_gic_of_init(void); | 214 | void omap_gic_of_init(void); |
223 | 215 | ||
224 | #ifdef CONFIG_CACHE_L2X0 | 216 | #ifdef CONFIG_CACHE_L2X0 |
diff --git a/include/linux/irqchip/irq-omap-intc.h b/include/linux/irqchip/irq-omap-intc.h new file mode 100644 index 000000000000..e06b370cfc0d --- /dev/null +++ b/include/linux/irqchip/irq-omap-intc.h | |||
@@ -0,0 +1,32 @@ | |||
1 | /** | ||
2 | * irq-omap-intc.h - INTC Idle Functions | ||
3 | * | ||
4 | * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com | ||
5 | * | ||
6 | * Author: Felipe Balbi <balbi@ti.com> | ||
7 | * | ||
8 | * This program is free software: you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 of | ||
10 | * the License as published by the Free Software Foundation. | ||
11 | * | ||
12 | * This program is distributed in the hope that it will be useful, | ||
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | * GNU General Public License for more details. | ||
16 | */ | ||
17 | |||
18 | #ifndef __INCLUDE_LINUX_IRQCHIP_IRQ_OMAP_INTC_H | ||
19 | #define __INCLUDE_LINUX_IRQCHIP_IRQ_OMAP_INTC_H | ||
20 | |||
21 | void omap2_init_irq(void); | ||
22 | void omap3_init_irq(void); | ||
23 | void ti81xx_init_irq(void); | ||
24 | |||
25 | int omap_irq_pending(void); | ||
26 | void omap_intc_save_context(void); | ||
27 | void omap_intc_restore_context(void); | ||
28 | void omap3_intc_suspend(void); | ||
29 | void omap3_intc_prepare_idle(void); | ||
30 | void omap3_intc_resume_idle(void); | ||
31 | |||
32 | #endif /* __INCLUDE_LINUX_IRQCHIP_IRQ_OMAP_INTC_H */ | ||