diff options
author | Olof Johansson <olof@lixom.net> | 2012-03-10 12:11:31 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2012-03-10 12:11:31 -0500 |
commit | cdc3df6f44f72c5924a16a47e1663c3fb0e57820 (patch) | |
tree | 834f1c4423899e605dc3d226282910e67f1ce260 /arch/arm/mach-omap2/common.h | |
parent | a58f67e70a6cad021ceebd1c8919b898dd5d5de3 (diff) | |
parent | 328ae2cb50af2f96b6061eb462aa92966a462bbc (diff) |
Merge branch 'dt-part2' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/dt
* 'dt-part2' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
arm/dts: mt_ventoux: very basic support for TeeJet Mt.Ventoux board
ARM: OMAP2+: Remove extra ifdefs for board-generic
ARM: OMAP2+: Fix build error when only ARCH_OMAP2/3 or 4 is selected
ARM: OMAP2+: board-generic: Use of_irq_init API
arm/dts: OMAP3: Add interrupt-controller bindings for INTC
ARM: OMAP2/3: intc: Add DT support for TI interrupt controller
Diffstat (limited to 'arch/arm/mach-omap2/common.h')
-rw-r--r-- | arch/arm/mach-omap2/common.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/common.h b/arch/arm/mach-omap2/common.h index 7e9338e8d684..99604d364305 100644 --- a/arch/arm/mach-omap2/common.h +++ b/arch/arm/mach-omap2/common.h | |||
@@ -175,6 +175,18 @@ void omap3_intc_handle_irq(struct pt_regs *regs); | |||
175 | extern void __iomem *omap4_get_l2cache_base(void); | 175 | extern void __iomem *omap4_get_l2cache_base(void); |
176 | #endif | 176 | #endif |
177 | 177 | ||
178 | struct device_node; | ||
179 | #ifdef CONFIG_OF | ||
180 | int __init omap_intc_of_init(struct device_node *node, | ||
181 | struct device_node *parent); | ||
182 | #else | ||
183 | int __init omap_intc_of_init(struct device_node *node, | ||
184 | struct device_node *parent) | ||
185 | { | ||
186 | return 0; | ||
187 | } | ||
188 | #endif | ||
189 | |||
178 | #ifdef CONFIG_SMP | 190 | #ifdef CONFIG_SMP |
179 | extern void __iomem *omap4_get_scu_base(void); | 191 | extern void __iomem *omap4_get_scu_base(void); |
180 | #else | 192 | #else |