]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arch: meson: sm: set correct order of the includes
authorAlexey Romanov <avromanov@salutedevices.com>
Thu, 21 Sep 2023 08:13:40 +0000 (11:13 +0300)
committerNeil Armstrong <neil.armstrong@linaro.org>
Sun, 15 Oct 2023 10:23:48 +0000 (12:23 +0200)
The common.h header should always be first, followed
by other headers in order, then headers with directories,
then local files.

Signed-off-by: Alexey Romanov <avromanov@salutedevices.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Link: https://lore.kernel.org/r/20230921081346.22157-8-avromanov@salutedevices.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
arch/arm/mach-meson/sm.c

index d600c64d0bead8c38892e16712f4b76fbe451854..b5dd6c6d397a655869b0be1dacf5b5b365617c02 100644 (file)
@@ -6,7 +6,10 @@
  */
 
 #include <common.h>
+#include <dm.h>
 #include <log.h>
+#include <regmap.h>
+#include <syscon.h>
 #include <asm/arch/sm.h>
 #include <asm/cache.h>
 #include <asm/global_data.h>
 #include <linux/bitops.h>
 #include <linux/err.h>
 #include <linux/kernel.h>
-#include <dm.h>
 #include <linux/bitfield.h>
-#include <regmap.h>
-#include <syscon.h>
 
 #define FN_GET_SHARE_MEM_INPUT_BASE    0x82000020
 #define FN_GET_SHARE_MEM_OUTPUT_BASE   0x82000021