irqchip: s3c24xx: Fix function type for IRQCHIP_OF_DECLARE
authorRob Herring <robh@kernel.org>
Mon, 12 May 2014 16:35:52 +0000 (11:35 -0500)
committerRob Herring <robh@kernel.org>
Tue, 20 May 2014 19:25:23 +0000 (14:25 -0500)
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>
drivers/irqchip/irq-s3c24xx.c

index bbcc944ed94ff4f51d2dd8921e9ca4b5e8bb09c5..78a6accd205f2dc5bf446af176ef8eaf94937b44 100644 (file)
@@ -1323,8 +1323,7 @@ static struct s3c24xx_irq_of_ctrl s3c2410_ctrl[] = {
 };
 
 int __init s3c2410_init_intc_of(struct device_node *np,
-                       struct device_node *interrupt_parent,
-                       struct s3c24xx_irq_of_ctrl *ctrl, int num_ctrl)
+                       struct device_node *interrupt_parent)
 {
        return s3c_init_intc_of(np, interrupt_parent,
                                s3c2410_ctrl, ARRAY_SIZE(s3c2410_ctrl));
@@ -1346,8 +1345,7 @@ static struct s3c24xx_irq_of_ctrl s3c2416_ctrl[] = {
 };
 
 int __init s3c2416_init_intc_of(struct device_node *np,
-                       struct device_node *interrupt_parent,
-                       struct s3c24xx_irq_of_ctrl *ctrl, int num_ctrl)
+                       struct device_node *interrupt_parent)
 {
        return s3c_init_intc_of(np, interrupt_parent,
                                s3c2416_ctrl, ARRAY_SIZE(s3c2416_ctrl));
This page took 0.028861 seconds and 5 git commands to generate.