diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-06-22 16:42:04 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-06-25 06:06:09 +0900 |
commit | 1d21e1b97c39d7a6e40a22d3a4153231cf4296af (patch) | |
tree | b8d34671f07132e3c01da799977ff52973744584 /arch/arm/mach-uniphier/dram_init.c | |
parent | 431c66a3bad13e13c1d44ef4ec3638f95e72e11d (diff) | |
download | u-boot-1d21e1b97c39d7a6e40a22d3a4153231cf4296af.tar.gz |
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/dram_init.c')
-rw-r--r-- | arch/arm/mach-uniphier/dram_init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-uniphier/dram_init.c b/arch/arm/mach-uniphier/dram_init.c index f79b7cf3ca..6eb8d26504 100644 --- a/arch/arm/mach-uniphier/dram_init.c +++ b/arch/arm/mach-uniphier/dram_init.c @@ -7,6 +7,7 @@ */ #include <common.h> +#include <fdt_support.h> #include <fdtdec.h> #include <linux/errno.h> #include <linux/sizes.h> |