watchdog: xilinx: Setup the origin compatible string
authorMichal Simek <michal.simek@xilinx.com>
Fri, 31 May 2013 05:56:34 +0000 (07:56 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Thu, 11 Jul 2013 19:47:22 +0000 (21:47 +0200)
Watchdog 1.01.a is also compatible with 1.00.a.
Add the origin version to compatible list.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/of_xilinx_wdt.c

index d4a35ab89e01b3ae10effb77282dea1ce6680f76..4dd281f2c33f29b275eaa64cfa80a62d0c62c109 100644 (file)
@@ -384,6 +384,7 @@ static int xwdt_remove(struct platform_device *dev)
 
 /* Match table for of_platform binding */
 static struct of_device_id xwdt_of_match[] = {
+       { .compatible = "xlnx,xps-timebase-wdt-1.00.a", },
        { .compatible = "xlnx,xps-timebase-wdt-1.01.a", },
        {},
 };