watchdog: versal: Include header file needed for dev_ functions
authorAshok Reddy Soma <ashok.reddy.soma@xilinx.com>
Tue, 10 Aug 2021 06:16:12 +0000 (00:16 -0600)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 26 Aug 2021 06:08:11 +0000 (08:08 +0200)
dev_dbg, dev_err and dev_warn seems to be moved to different header file.
Include dm/device_compat.h file to compile properly.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/watchdog/xilinx_wwdt.c

index 11b30ae..c8e6c60 100644 (file)
@@ -14,6 +14,7 @@
 #include <regmap.h>
 #include <wdt.h>
 #include <linux/compat.h>
+#include <dm/device_compat.h>
 #include <linux/io.h>
 
 /* Refresh Register Masks */