aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAshok Reddy Soma <ashok.reddy.soma@xilinx.com>2021-08-10 00:16:12 -0600
committerMichal Simek <michal.simek@xilinx.com>2021-08-26 08:08:11 +0200
commite32d8916594cf64f38645acc860ec73ec242fe0d (patch)
tree3b6bffe1373056c3d8a4839fc3522ebc14f0856a /drivers
parentafb08a86340872df3dfa1c918cd194f2e01c7b6c (diff)
downloadu-boot-e32d8916594cf64f38645acc860ec73ec242fe0d.zip
u-boot-e32d8916594cf64f38645acc860ec73ec242fe0d.tar.gz
u-boot-e32d8916594cf64f38645acc860ec73ec242fe0d.tar.bz2
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')
-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 11b30ae..c8e6c60 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 */