summaryrefslogtreecommitdiff
path: root/drivers/spi
diff options
context:
space:
mode:
authorChris Morgan <macromorgan@hotmail.com>2022-03-25 10:40:35 -0500
committerKever Yang <kever.yang@rock-chips.com>2022-04-18 11:25:12 +0800
commitf0d49d4f0dba4bd3dc4810dbfc48e315afe023fc (patch)
treeca41bd9abfe321f352e41351dbc5ed82228051e9 /drivers/spi
parente963228af50d317a83d4ceffb095e40ef3ab9d53 (diff)
downloadu-boot-f0d49d4f0dba4bd3dc4810dbfc48e315afe023fc.tar.gz
spi: rockchip_sfc: Add missing include for dm/device_compat.h
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>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/rockchip_sfc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/rockchip_sfc.c b/drivers/spi/rockchip_sfc.c
index e098addddc..851a648298 100644
--- a/drivers/spi/rockchip_sfc.c
+++ b/drivers/spi/rockchip_sfc.c
@@ -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>