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:

committed by
Sekhar Nori

parent
2d242aa288
commit
de4f82a245
@@ -88,6 +88,7 @@ int davinci_init_wdt(void);
|
||||
/* DM355 function declarations */
|
||||
void dm355_init(void);
|
||||
void dm355_init_time(void);
|
||||
void dm355_init_irq(void);
|
||||
void dm355_register_clocks(void);
|
||||
void dm355_init_spi0(unsigned chipselect_mask,
|
||||
const struct spi_board_info *info, unsigned len);
|
||||
@@ -97,6 +98,7 @@ int dm355_gpio_register(void);
|
||||
|
||||
/* DM365 function declarations */
|
||||
void dm365_init(void);
|
||||
void dm365_init_irq(void);
|
||||
void dm365_init_time(void);
|
||||
void dm365_register_clocks(void);
|
||||
void dm365_init_asp(void);
|
||||
@@ -110,6 +112,7 @@ int dm365_gpio_register(void);
|
||||
|
||||
/* DM644x function declarations */
|
||||
void dm644x_init(void);
|
||||
void dm644x_init_irq(void);
|
||||
void dm644x_init_devices(void);
|
||||
void dm644x_init_time(void);
|
||||
void dm644x_register_clocks(void);
|
||||
@@ -119,6 +122,7 @@ int dm644x_gpio_register(void);
|
||||
|
||||
/* DM646x function declarations */
|
||||
void dm646x_init(void);
|
||||
void dm646x_init_irq(void);
|
||||
void dm646x_init_time(unsigned long ref_clk_rate, unsigned long aux_clkin_rate);
|
||||
void dm646x_register_clocks(void);
|
||||
void dm646x_init_mcasp0(struct snd_platform_data *pdata);
|
||||
|
Reference in New Issue
Block a user