misc: eeprom: sunxi: Change compatibles
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 7 Feb 2014 21:20:39 +0000 (22:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Feb 2014 21:51:56 +0000 (13:51 -0800)
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 SID driver for consistency.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/misc/allwinner,sunxi-sid.txt
drivers/misc/eeprom/sunxi_sid.c

index 68ba37295565262d05807c1ba8ac0f7933395725..fabdf64a5737cc637b59f5612df2f82310619e3a 100644 (file)
@@ -1,12 +1,12 @@
 Allwinner sunxi-sid
 
 Required properties:
-- compatible: "allwinner,sun4i-sid" or "allwinner,sun7i-a20-sid".
+- compatible: "allwinner,sun4i-a10-sid" or "allwinner,sun7i-a20-sid"
 - reg: Should contain registers location and length
 
 Example for sun4i:
        sid@01c23800 {
-               compatible = "allwinner,sun4i-sid";
+               compatible = "allwinner,sun4i-a10-sid";
                reg = <0x01c23800 0x10>
        };
 
index e703c71f2b41eadee32f0ccf51bc77f8d5824113..3f2b625b203291c0724b85cfda06b1db9f804158 100644 (file)
@@ -95,7 +95,7 @@ static int sunxi_sid_remove(struct platform_device *pdev)
 }
 
 static const struct of_device_id sunxi_sid_of_match[] = {
-       { .compatible = "allwinner,sun4i-sid", .data = (void *)16},
+       { .compatible = "allwinner,sun4i-a10-sid", .data = (void *)16},
        { .compatible = "allwinner,sun7i-a20-sid", .data = (void *)512},
        {/* sentinel */},
 };