[PATCH 3/4] spi: ca_sflash: Add missing dm include
John Watts
contact at jookia.org
Sat Apr 27 07:40:42 CEST 2024
This code uses dev_err which is defined in dm/device_compat.h
Signed-off-by: John Watts <contact at jookia.org>
---
drivers/spi/ca_sflash.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/spi/ca_sflash.c b/drivers/spi/ca_sflash.c
index 38bddd3861..78e442cac9 100644
--- a/drivers/spi/ca_sflash.c
+++ b/drivers/spi/ca_sflash.c
@@ -11,6 +11,7 @@
#include <malloc.h>
#include <clk.h>
#include <dm.h>
+#include <dm/device_compat.h>
#include <errno.h>
#include <fdtdec.h>
#include <linux/compat.h>
--
2.44.0
More information about the U-Boot
mailing list