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>
This commit is contained in:
Bartosz Golaszewski
2019-02-14 15:52:05 +01:00
committed by Sekhar Nori
parent 2d242aa288
commit de4f82a245
12 changed files with 32 additions and 8 deletions

View File

@@ -792,6 +792,11 @@ int __init dm355_init_video(struct vpfe_config *vpfe_cfg,
return 0;
}
void __init dm355_init_irq(void)
{
davinci_irq_init();
}
static int __init dm355_init_devices(void)
{
struct platform_device *edma_pdev;