irqchip: sunxi: Change compatibles
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 7 Feb 2014 20:50:25 +0000 (21:50 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 14 Mar 2014 12:43:32 +0000 (13:43 +0100)
The Allwinner A10 compatibles were following a slightly different compatible
patterns than the rest of the SoCs for historical reasons. Change the compatibles
to match the other pattern in the irq controller driver for consistency.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Documentation/devicetree/bindings/interrupt-controller/allwinner,sun4i-ic.txt
drivers/irqchip/irq-sun4i.c

index 32cec4b26cd08f69e5380c05234b4c0fb50bc9e4..b290ca150d30eabb5bd25ac64ff8efb682caab47 100644 (file)
@@ -2,7 +2,7 @@ Allwinner Sunxi Interrupt Controller
 
 Required properties:
 
-- compatible : should be "allwinner,sun4i-ic"
+- compatible : should be "allwinner,sun4i-a10-ic"
 - reg : Specifies base physical address and size of the registers.
 - interrupt-controller : Identifies the node as an interrupt controller
 - #interrupt-cells : Specifies the number of cells needed to encode an
@@ -11,7 +11,7 @@ Required properties:
 Example:
 
 intc: interrupt-controller {
-       compatible = "allwinner,sun4i-ic";
+       compatible = "allwinner,sun4i-a10-ic";
        reg = <0x01c20400 0x400>;
        interrupt-controller;
        #interrupt-cells = <1>;
index 9fbff030c700213f6595e0204e0742e8371a582f..15999551ff7ffb74641d35aab7d8f3cd30676172 100644 (file)
@@ -134,7 +134,7 @@ static int __init sun4i_of_init(struct device_node *node,
 
        return 0;
 }
-IRQCHIP_DECLARE(allwinner_sun4i_ic, "allwinner,sun4i-ic", sun4i_of_init);
+IRQCHIP_DECLARE(allwinner_sun4i_ic, "allwinner,sun4i-a10-ic", sun4i_of_init);
 
 static void __exception_irq_entry sun4i_handle_irq(struct pt_regs *regs)
 {