]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
spi: rockchip_sfc: Add missing include for dm/device_compat.h
authorChris Morgan <macromorgan@hotmail.com>
Fri, 25 Mar 2022 15:40:35 +0000 (10:40 -0500)
committerKever Yang <kever.yang@rock-chips.com>
Mon, 18 Apr 2022 03:25:12 +0000 (11:25 +0800)
Add missing include for dm/device_compat.h. Without this include the
SFC driver fails to compile because dev_err and dev_dbg are not
defined.

Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
drivers/spi/rockchip_sfc.c

index e098addddcac05355f4fcfee21166fb0b767ce25..851a6482985b6d6eccfb5e6a02a3a64ef8c82c4b 100644 (file)
@@ -12,6 +12,7 @@
 #include <bouncebuf.h>
 #include <clk.h>
 #include <dm.h>
+#include <dm/device_compat.h>
 #include <linux/bitops.h>
 #include <linux/delay.h>
 #include <linux/iopoll.h>