diff options
| author | Chris Morgan <[email protected]> | 2022-03-25 10:40:35 -0500 |
|---|---|---|
| committer | Kever Yang <[email protected]> | 2022-04-18 11:25:12 +0800 |
| commit | f0d49d4f0dba4bd3dc4810dbfc48e315afe023fc (patch) | |
| tree | ca41bd9abfe321f352e41351dbc5ed82228051e9 /drivers | |
| parent | e963228af50d317a83d4ceffb095e40ef3ab9d53 (diff) | |
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 <[email protected]>
Reviewed-by: Kever Yang <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/spi/rockchip_sfc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/rockchip_sfc.c b/drivers/spi/rockchip_sfc.c index e098addddca..851a6482985 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> |
