Watchdog 1.01.a is also compatible with 1.00.a.
Setup the origin version to compatible list.
If you want to use newer watchdog version, please
extend your compatible list.

For example:
compatible = "xlnx,xps-timebase-wdt-1.02.a", "xlnx,xps-timebase-wdt-1.00.a";

Signed-off-by: Michal Simek <michal.si...@xilinx.com>
---
 drivers/watchdog/of_xilinx_wdt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/watchdog/of_xilinx_wdt.c b/drivers/watchdog/of_xilinx_wdt.c
index d4a35ab..79f358c 100644
--- a/drivers/watchdog/of_xilinx_wdt.c
+++ b/drivers/watchdog/of_xilinx_wdt.c
@@ -384,7 +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.01.a", },
+       { .compatible = "xlnx,xps-timebase-wdt-1.00.a", },
        {},
 };
 MODULE_DEVICE_TABLE(of, xwdt_of_match);
--
1.8.2.3

Attachment: pgpFQ2zQgdih8.pgp
Description: PGP signature

Reply via email to