summaryrefslogtreecommitdiff
path: root/arch/arm/mach-davinci/da830.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2019-02-14 17:52:18 +0300
committerSekhar Nori <nsekhar@ti.com>2019-02-19 17:33:08 +0300
commitf451ca3e4b18bb27b069ec3c8ee3582e975d4ebe (patch)
treef61740910ee571ca0dd6095e7b852e29c1978bd1 /arch/arm/mach-davinci/da830.c
parented4d189b7c8abc58f151b9d316ef3e8a22dd5fb1 (diff)
downloadlinux-f451ca3e4b18bb27b069ec3c8ee3582e975d4ebe.tar.xz
ARM: davinci: cp-intc: add a wrapper around cp_intc_init()
We're going to extend the cp_intc_init() function with a config structure so we can drop the intc-related fields from davinci_soc_info. Once we do it, we won't be able to use this routine directly as the init_irq callback. Wrap the calls in additional helpers that don't take parameters and can be assigned to init_irq. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Reviewed-by: David Lechner <david@lechnology.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/da830.c')
-rw-r--r--arch/arm/mach-davinci/da830.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/da830.c b/arch/arm/mach-davinci/da830.c
index ca903c9105e4..5cfd30c57429 100644
--- a/arch/arm/mach-davinci/da830.c
+++ b/arch/arm/mach-davinci/da830.c
@@ -821,6 +821,11 @@ void __init da830_init(void)
WARN(!da8xx_syscfg0_base, "Unable to map syscfg0 module");
}
+void __init da830_init_irq(void)
+{
+ cp_intc_init();
+}
+
void __init da830_init_time(void)
{
void __iomem *pll;