diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-06-22 07:42:04 (GMT) |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-06-24 21:06:09 (GMT) |
commit | 1d21e1b97c39d7a6e40a22d3a4153231cf4296af (patch) | |
tree | b8d34671f07132e3c01da799977ff52973744584 /arch/arm/mach-uniphier/arm64 | |
parent | 431c66a3bad13e13c1d44ef4ec3638f95e72e11d (diff) | |
download | u-boot-1d21e1b97c39d7a6e40a22d3a4153231cf4296af.tar.xz |
ARM: uniphier: fix various sparse warnings
Fix warnings reported by sparse:
- ... was not declared. Should it be static?"
- cast to restricted __be32
While fixing those, the type conflict of cci500_init() was found.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm/mach-uniphier/arm64')
-rw-r--r-- | arch/arm/mach-uniphier/arm64/arm-cci500.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-uniphier/arm64/smp_kick_cpus.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-uniphier/arm64/arm-cci500.c b/arch/arm/mach-uniphier/arm64/arm-cci500.c index f18595d..bf0fad4 100644 --- a/arch/arm/mach-uniphier/arm64/arm-cci500.c +++ b/arch/arm/mach-uniphier/arm64/arm-cci500.c @@ -11,6 +11,8 @@ #include <linux/io.h> #include <linux/sizes.h> +#include "../init.h" + #define CCI500_BASE 0x5FD00000 #define CCI500_SLAVE_OFFSET 0x1000 diff --git a/arch/arm/mach-uniphier/arm64/smp_kick_cpus.c b/arch/arm/mach-uniphier/arm64/smp_kick_cpus.c index 4f08963..8e5b198 100644 --- a/arch/arm/mach-uniphier/arm64/smp_kick_cpus.c +++ b/arch/arm/mach-uniphier/arm64/smp_kick_cpus.c @@ -8,6 +8,8 @@ #include <linux/io.h> #include <linux/sizes.h> +#include "../init.h" + #define UNIPHIER_SMPCTRL_ROM_RSV0 0x59801200 void uniphier_smp_setup(void); |