[PATCH] watchdog: versal: Include header file needed for dev_ functions

Michal Simek monstr at monstr.eu
Mon Aug 23 08:53:31 CEST 2021


út 17. 8. 2021 v 13:30 odesílatel Michal Simek <michal.simek at xilinx.com> napsal:
>
> From: Ashok Reddy Soma <ashok.reddy.soma at xilinx.com>
>
> 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 at xilinx.com>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
>  drivers/watchdog/xilinx_wwdt.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/watchdog/xilinx_wwdt.c b/drivers/watchdog/xilinx_wwdt.c
> index 11b30ae85df0..c8e6c60cdd22 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 */
> --
> 2.32.0
>

Applied.
M

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs


More information about the U-Boot mailing list