diff options
author | Sean Anderson | 2020-10-04 21:39:50 -0400 |
---|---|---|
committer | Tom Rini | 2020-10-16 09:44:27 -0400 |
commit | d13da03f3b365cb48222692768f9c047fce1d569 (patch) | |
tree | 2f9811ce87ec238cebb66602704341d76d2ce867 | |
parent | 06aaca51588ee161a144982368dd10bc86f3f336 (diff) |
spi: fsl_qspi: Include device_compat.h
Necessary for dev_xxx.
Signed-off-by: Sean Anderson <seanga2@gmail.com>
-rw-r--r-- | drivers/spi/fsl_qspi.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/spi/fsl_qspi.c b/drivers/spi/fsl_qspi.c index eec968e5ec1..128f95877f2 100644 --- a/drivers/spi/fsl_qspi.c +++ b/drivers/spi/fsl_qspi.c @@ -24,19 +24,20 @@ */ #include <common.h> +#include <dm.h> +#include <dm/device_compat.h> #include <log.h> -#include <asm/io.h> +#include <spi.h> +#include <spi-mem.h> #include <linux/bitops.h> #include <linux/delay.h> #include <linux/libfdt.h> #include <linux/sizes.h> #include <linux/iopoll.h> -#include <dm.h> #include <linux/iopoll.h> #include <linux/sizes.h> #include <linux/err.h> -#include <spi.h> -#include <spi-mem.h> +#include <asm/io.h> DECLARE_GLOBAL_DATA_PTR; |