Browse Source

ARM: sunxi: Add the new watchog compatibles to the reboot code

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>
Maxime Ripard 11 years ago
parent
commit
8db21ad469
1 changed files with 2 additions and 2 deletions
  1. 2 2
      arch/arm/mach-sunxi/sunxi.c

+ 2 - 2
arch/arm/mach-sunxi/sunxi.c

@@ -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*/ }
 };