[PATCH 08/16] spi: nsp_fspi: Include device_compat.h

Sean Anderson
2020-10-05T01:39:49Z

Necessary for dev_xxx.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
---

drivers/spi/nxp_fspi.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/drivers/spi/nxp_fspi.c b/drivers/spi/nxp_fspi.c
index c507437f2e..5a639cce30 100644
--- a/drivers/spi/nxp_fspi.c
+++ b/drivers/spi/nxp_fspi.c
@@ -34,12 +34,13 @@
*/

#include <common.h>
-#include <asm/io.h>
+#include <clk.h>
+#include <dm.h>
+#include <dm/device_compat.h>
#include <malloc.h>
#include <spi.h>
#include <spi-mem.h>
-#include <dm.h>
-#include <clk.h>
+#include <asm/io.h>
#include <linux/bitops.h>
#include <linux/kernel.h>
#include <linux/sizes.h>
--
2.28.0