]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
spi: ca_sflash: Add missing dm include
authorJohn Watts <contact@jookia.org>
Sat, 27 Apr 2024 05:40:42 +0000 (15:40 +1000)
committerTom Rini <trini@konsulko.com>
Wed, 9 Oct 2024 20:52:43 +0000 (14:52 -0600)
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

index 38bddd38619ec912830bd64c909c57f206a80a74..78e442cac90bdfdaa3b9762fb638578d5df58ebd 100644 (file)
@@ -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>