diff mbox series

[3/4] spi: ca_sflash: Add missing dm include

Message ID 20240427-spikconfig-v1-3-8a54772522f4@jookia.org
State Accepted
Commit c90a172d91547326387aa6b8a38bb0979ad929ed
Delegated to: Jagannadha Sutradharudu Teki
Headers show
Series spi: Various Kconfig fixes | expand

Commit Message

John Watts April 27, 2024, 5:40 a.m. UTC
This code uses dev_err which is defined in dm/device_compat.h

Signed-off-by: John Watts <contact@jookia.org>
---
 drivers/spi/ca_sflash.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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>