]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: uniphier: include <asm/system.h> instead of <asm/cache.h> from psci.c
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 20 May 2020 03:31:23 +0000 (12:31 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 22 May 2020 02:21:06 +0000 (11:21 +0900)
commitf49049a8ec46ff00ddd8f023bf0b5935b5317865
treeddc2c6c34e44086fd907ab9bf7a88a6bfdbb514d
parent1c193c0c6e8babd54b254c134718222e232728a6
ARM: uniphier: include <asm/system.h> instead of <asm/cache.h> from psci.c

I do not understand the change made to this file by
commit 90526e9fbac4 ("common: Drop net.h from common header").

  git show 90526e9fbac4 -- arch/arm/mach-uniphier/arm32/psci.c

It added <asm/cache.h> while this file does not call the standard cache
functions at all.

All the uniphier-specific cache functions, uniphier_cache_*() are
declared in cache-uniphier.h, which is already included from this file.

Including <asm/system.h> is sensible to fix the -Wmissing-prototypes
warnings because this file defines psci_cpu_on and psci_system_reset().

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/mach-uniphier/arm32/psci.c