]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/watchdog/mpc5200_wdt.c
ide: workaround suspend bug for ACPI IDE
[linux-2.6-omap-h63xx.git] / drivers / watchdog / mpc5200_wdt.c
index 9cfb9757662361cb64b770764aa1fa66a4be29f8..11f6a111e75b750dc6716bb19ba2aedb4cdc98aa 100644 (file)
@@ -175,6 +175,8 @@ static int mpc5200_wdt_probe(struct of_device *op, const struct of_device_id *ma
        int size;
 
        has_wdt = of_get_property(op->node, "has-wdt", NULL);
+       if (!has_wdt)
+               has_wdt = of_get_property(op->node, "fsl,has-wdt", NULL);
        if (!has_wdt)
                return -ENODEV;
 
@@ -254,6 +256,7 @@ static int mpc5200_wdt_shutdown(struct of_device *op)
 
 static struct of_device_id mpc5200_wdt_match[] = {
        { .compatible = "mpc5200-gpt", },
+       { .compatible = "fsl,mpc5200-gpt", },
        {},
 };
 static struct of_platform_driver mpc5200_wdt_driver = {