projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef2eb10
)
arch: meson: sm: set correct order of the includes
author
Alexey Romanov
<avromanov@salutedevices.com>
Thu, 21 Sep 2023 08:13:40 +0000
(11:13 +0300)
committer
Neil 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
patch
|
blob
|
history
diff --git
a/arch/arm/mach-meson/sm.c
b/arch/arm/mach-meson/sm.c
index d600c64d0bead8c38892e16712f4b76fbe451854..b5dd6c6d397a655869b0be1dacf5b5b365617c02 100644
(file)
--- a/
arch/arm/mach-meson/sm.c
+++ b/
arch/arm/mach-meson/sm.c
@@
-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>
@@
-14,10
+17,7
@@
#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