summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/dm365.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 19:44:21 +0530
commitde4f82a245ce2ef5ef5623a57105ddfd77ad2ea5 (patch)
tree8cced83717c24e9e90f3f47ee6b2c3875f219f2d /arch/arm/mach-davinci/dm365.c
parent2d242aa288920d154985cf34e05945915893b34d (diff)
downloadlinux-stable-de4f82a245ce2ef5ef5623a57105ddfd77ad2ea5.tar.gz
linux-stable-de4f82a245ce2ef5ef5623a57105ddfd77ad2ea5.tar.bz2
linux-stable-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/dm365.c')
-rw-r--r--arch/arm/mach-davinci/dm365.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/dm365.c b/arch/arm/mach-davinci/dm365.c
index d9c6ab9215a6..e1c223c6031f 100644
--- a/arch/arm/mach-davinci/dm365.c
+++ b/arch/arm/mach-davinci/dm365.c
@@ -1051,6 +1051,11 @@ int __init dm365_init_video(struct vpfe_config *vpfe_cfg,
return 0;
}
+void __init dm365_init_irq(void)
+{
+ davinci_irq_init();
+}
+
static int __init dm365_init_devices(void)
{
struct platform_device *edma_pdev;