ARM: sunxi: Add the new watchog compatibles to the reboot code
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 7 Feb 2014 21:29:25 +0000 (22:29 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 13 Mar 2014 10:46:20 +0000 (11:46 +0100)
Now that the watchdog driver has new compatibles, we need to support them in
the machine reboot code.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/mach-sunxi/sunxi.c

index aeea6ceea725f5e8fb8495f09850616400679710..460b5a4962ef264fff0357800f7c526dbded871f 100644 (file)
@@ -94,8 +94,8 @@ static void sun6i_restart(enum reboot_mode mode, const char *cmd)
 }
 
 static struct of_device_id sunxi_restart_ids[] = {
-       { .compatible = "allwinner,sun4i-wdt" },
-       { .compatible = "allwinner,sun6i-wdt" },
+       { .compatible = "allwinner,sun4i-a10-wdt" },
+       { .compatible = "allwinner,sun6i-a31-wdt" },
        { /*sentinel*/ }
 };