summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/dm644x.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2019-02-14 15:52:05 +0100
committerSekhar Nori <nsekhar@ti.com>2019-02-19 15:14:21 +0100
commitde4f82a245ce2ef5ef5623a57105ddfd77ad2ea5 (patch)
tree8cced83717c24e9e90f3f47ee6b2c3875f219f2d /arch/arm/mach-davinci/dm644x.c
parentARM: davinci: aintc: drop GPL license boilerplate (diff)
downloadlinux-de4f82a245ce2ef5ef5623a57105ddfd77ad2ea5.tar.xz
linux-de4f82a245ce2ef5ef5623a57105ddfd77ad2ea5.zip
ARM: davinci: aintc: wrap davinci_irq_init() with a helper
We're going to extend the davinci_irq_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/dm644x.c')
-rw-r--r--arch/arm/mach-davinci/dm644x.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/dm644x.c b/arch/arm/mach-davinci/dm644x.c
index b2748c82b747..2b18c134ee15 100644
--- a/arch/arm/mach-davinci/dm644x.c
+++ b/arch/arm/mach-davinci/dm644x.c
@@ -728,6 +728,11 @@ int __init dm644x_init_video(struct vpfe_config *vpfe_cfg,
return 0;
}
+void __init dm644x_init_irq(void)
+{
+ davinci_irq_init();
+}
+
void __init dm644x_init_devices(void)
{
struct platform_device *edma_pdev;