summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2019-02-14 15:52:11 +0100
committerSekhar Nori <nsekhar@ti.com>2019-02-19 19:55:17 +0530
commit06a2871614295eb3c504821adc4dee15748890ac (patch)
treea988d8d2d3cb832bcff78ae0fab523ff3ff456a9 /include
parentfd0f4275864d32a5150426bc73247901f5cc9b1b (diff)
downloadlinux-06a2871614295eb3c504821adc4dee15748890ac.tar.bz2
ARM: davinci: aintc: use the new config structure
Modify the aintc driver to take all its configuration from the new config structure. Stop referencing davinci_soc_info in any way. Move the declaration for davinci_aintc_init() to irq-davinci-aintc.h and make it take the new config structure as parameter. Convert all users to the new version. 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 'include')
-rw-r--r--include/linux/irqchip/irq-davinci-aintc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/irqchip/irq-davinci-aintc.h b/include/linux/irqchip/irq-davinci-aintc.h
index 2b2ace3c1b22..ea4e087fac98 100644
--- a/include/linux/irqchip/irq-davinci-aintc.h
+++ b/include/linux/irqchip/irq-davinci-aintc.h
@@ -22,4 +22,6 @@ struct davinci_aintc_config {
u8 *prios;
};
+void davinci_aintc_init(const struct davinci_aintc_config *config);
+
#endif /* _LINUX_IRQ_DAVINCI_AINTC_ */