diff options
author | 2019-02-14 15:52:05 +0100 | |
---|---|---|
committer | 2019-02-19 19:44:21 +0530 | |
commit | de4f82a245ce2ef5ef5623a57105ddfd77ad2ea5 (patch) | |
tree | 8cced83717c24e9e90f3f47ee6b2c3875f219f2d /arch/arm/mach-davinci/dm646x.c | |
parent | ARM: davinci: aintc: drop GPL license boilerplate (diff) | |
download | linux-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/dm646x.c')
-rw-r--r-- | arch/arm/mach-davinci/dm646x.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/dm646x.c b/arch/arm/mach-davinci/dm646x.c index cf210741dfe5..75a9f80317ca 100644 --- a/arch/arm/mach-davinci/dm646x.c +++ b/arch/arm/mach-davinci/dm646x.c @@ -689,6 +689,11 @@ void __init dm646x_register_clocks(void) platform_device_register(&dm646x_pll2_device); } +void __init dm646x_init_irq(void) +{ + davinci_irq_init(); +} + static int __init dm646x_init_devices(void) { int ret = 0; |