diff options
author | Rob Herring <robh@kernel.org> | 2014-05-12 12:35:52 -0400 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2014-05-20 15:25:23 -0400 |
commit | 4f41083b87633c2277aad57c6a68e4250c5e7f1e (patch) | |
tree | 5236870c3797d19fa91f41a2b8688124719e8ddd | |
parent | 83221923fc09c5ad3f1afbfb5d227a7ff1638b29 (diff) |
irqchip: s3c24xx: Fix function type for IRQCHIP_OF_DECLARE
Adding function type checking to IRQCHIP_OF_DECLARE found a type mismatch
with s3c2410_init_intc_of and s3c2416_init_intc_of. The function only takes
the 1st 2 parameters.
Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Jason Cooper <jason@lakedaemon.net>
-rw-r--r-- | drivers/irqchip/irq-s3c24xx.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/irqchip/irq-s3c24xx.c b/drivers/irqchip/irq-s3c24xx.c index bbcc944ed94f..78a6accd205f 100644 --- a/drivers/irqchip/irq-s3c24xx.c +++ b/drivers/irqchip/irq-s3c24xx.c | |||
@@ -1323,8 +1323,7 @@ static struct s3c24xx_irq_of_ctrl s3c2410_ctrl[] = { | |||
1323 | }; | 1323 | }; |
1324 | 1324 | ||
1325 | int __init s3c2410_init_intc_of(struct device_node *np, | 1325 | int __init s3c2410_init_intc_of(struct device_node *np, |
1326 | struct device_node *interrupt_parent, | 1326 | struct device_node *interrupt_parent) |
1327 | struct s3c24xx_irq_of_ctrl *ctrl, int num_ctrl) | ||
1328 | { | 1327 | { |
1329 | return s3c_init_intc_of(np, interrupt_parent, | 1328 | return s3c_init_intc_of(np, interrupt_parent, |
1330 | s3c2410_ctrl, ARRAY_SIZE(s3c2410_ctrl)); | 1329 | s3c2410_ctrl, ARRAY_SIZE(s3c2410_ctrl)); |
@@ -1346,8 +1345,7 @@ static struct s3c24xx_irq_of_ctrl s3c2416_ctrl[] = { | |||
1346 | }; | 1345 | }; |
1347 | 1346 | ||
1348 | int __init s3c2416_init_intc_of(struct device_node *np, | 1347 | int __init s3c2416_init_intc_of(struct device_node *np, |
1349 | struct device_node *interrupt_parent, | 1348 | struct device_node *interrupt_parent) |
1350 | struct s3c24xx_irq_of_ctrl *ctrl, int num_ctrl) | ||
1351 | { | 1349 | { |
1352 | return s3c_init_intc_of(np, interrupt_parent, | 1350 | return s3c_init_intc_of(np, interrupt_parent, |
1353 | s3c2416_ctrl, ARRAY_SIZE(s3c2416_ctrl)); | 1351 | s3c2416_ctrl, ARRAY_SIZE(s3c2416_ctrl)); |