From patchwork Wed Apr 29 07:08:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Roese X-Patchwork-Id: 238854 List-Id: U-Boot discussion From: sr at denx.de (Stefan Roese) Date: Wed, 29 Apr 2020 09:08:44 +0200 Subject: [PATCH] dm: core: Reorder include files in read.c Message-ID: <20200429070844.11939-1-sr@denx.de> Including the assembler headers before including common.h etc leads to compilation errors upon MIPS64 based platforms using OF_LIVE. This patch reorders the include files to the "correct" oder. Signed-off-by: Stefan Roese Cc: Simon Glass Reviewed-by: Simon Glass --- drivers/core/read.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/core/read.c b/drivers/core/read.c index 47b8e03446..8e65dd2d50 100644 --- a/drivers/core/read.c +++ b/drivers/core/read.c @@ -4,12 +4,12 @@ * Written by Simon Glass */ -#include -#include #include #include -#include #include +#include +#include +#include int dev_read_u32(const struct udevice *dev, const char *propname, u32 *outp) {