diff options
author | Tom Rini <trini@konsulko.com> | 2021-06-02 17:23:27 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-06-02 17:23:27 -0400 |
commit | 04d7f754fe45caaac8e546fe9bbde8e11126336a (patch) | |
tree | d0cbf97ad0f65d1dcd7c8156a4638d2a6b6c7196 | |
parent | 291db3c371c9f7fcf9166f55fbdbfe15b7832635 (diff) | |
download | u-boot-WIP/gd-check.zip u-boot-WIP/gd-check.tar.gz u-boot-WIP/gd-check.tar.bz2 |
spi: fsl_dspi: Rework include orderWIP/gd-check
We cannot have <asm/global_data.h> as the first include, move that to
down in the list. Remove duplicate common.h includes.
Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r-- | drivers/spi/fsl_dspi.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/spi/fsl_dspi.c b/drivers/spi/fsl_dspi.c index 8fe3508..7c52bf2 100644 --- a/drivers/spi/fsl_dspi.c +++ b/drivers/spi/fsl_dspi.c @@ -9,12 +9,10 @@ * Haikun Wang (B53464@freescale.com) */ -#include <asm/global_data.h> -#include <linux/math64.h> #include <common.h> +#include <linux/math64.h> #include <dm.h> #include <errno.h> -#include <common.h> #include <log.h> #include <spi.h> #include <malloc.h> @@ -23,6 +21,7 @@ #ifndef CONFIG_M68K #include <asm/arch/clock.h> #endif +#include <asm/global_data.h> #include <fsl_dspi.h> #include <linux/bitops.h> #include <linux/delay.h> |