summaryrefslogtreecommitdiff
path: root/drivers/core/read.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2020-04-29 09:08:44 +0200
committerSimon Glass <sjg@chromium.org>2020-05-29 20:55:45 -0600
commit979afd14c3e29dedcc020a49f59d6cb28124f038 (patch)
tree900faec31f799a451a81b9c2b91d5e8863820f48 /drivers/core/read.c
parent5e61c4e89d252e7d909d0129682ea48516912e6c (diff)
dm: core: Reorder include files in read.c
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 <sr@denx.de> Cc: Simon Glass <sjg@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/core/read.c')
-rw-r--r--drivers/core/read.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/core/read.c b/drivers/core/read.c
index 3d421f7a69..047089c886 100644
--- a/drivers/core/read.c
+++ b/drivers/core/read.c
@@ -4,12 +4,12 @@
* Written by Simon Glass <sjg@chromium.org>
*/
-#include <asm/types.h>
-#include <asm/io.h>
#include <common.h>
#include <dm.h>
-#include <mapmem.h>
#include <dm/of_access.h>
+#include <mapmem.h>
+#include <asm/types.h>
+#include <asm/io.h>
int dev_read_u32(const struct udevice *dev, const char *propname, u32 *outp)
{