commit | dbbf343a362d9250d8cb35066a91c494eed95dce | [log] [tgz] |
---|---|---|
author | John Watts <contact@jookia.org> | Sat Apr 27 15:40:42 2024 +1000 |
committer | Tom Rini <trini@konsulko.com> | Wed Oct 09 14:52:43 2024 -0600 |
tree | 25ec22a364584b617629608d6b477a103f0de094 | |
parent | 8922beb4b974812bf2d0315aa6791f8e2eb26af1 [diff] |
spi: ca_sflash: Add missing dm include This code uses dev_err which is defined in dm/device_compat.h Signed-off-by: John Watts <contact@jookia.org>
diff --git a/drivers/spi/ca_sflash.c b/drivers/spi/ca_sflash.c index 38bddd3..78e442c 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>