summaryrefslogtreecommitdiff
path: root/drivers/watchdog
diff options
context:
space:
mode:
authorAshok Reddy Soma <ashok.reddy.soma@xilinx.com>2021-08-10 09:16:12 +0300
committerMichal Simek <michal.simek@xilinx.com>2021-08-26 09:08:11 +0300
commite32d8916594cf64f38645acc860ec73ec242fe0d (patch)
tree3b6bffe1373056c3d8a4839fc3522ebc14f0856a /drivers/watchdog
parentafb08a86340872df3dfa1c918cd194f2e01c7b6c (diff)
downloadu-boot-e32d8916594cf64f38645acc860ec73ec242fe0d.tar.xz
watchdog: versal: Include header file needed for dev_ functions
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>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r--drivers/watchdog/xilinx_wwdt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/watchdog/xilinx_wwdt.c b/drivers/watchdog/xilinx_wwdt.c
index 11b30ae85d..c8e6c60cdd 100644
--- a/drivers/watchdog/xilinx_wwdt.c
+++ b/drivers/watchdog/xilinx_wwdt.c
@@ -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 */