ARM: cache_v7: use __weak
authorJeroen Hofstee <jeroen@myspectrum.nl>
Mon, 23 Jun 2014 20:07:04 +0000 (22:07 +0200)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Fri, 4 Jul 2014 17:57:22 +0000 (19:57 +0200)
commitfcfddfd50472d7ce84ef4e2853242bbeb7b37325
treec10c063cf385b22067fe1e7acce02ca0173ee722
parentf749db3a75ec483692d7bb6d46a1fbecb65c38ba
ARM: cache_v7: use __weak

This is not only more readable but also prevents a warning
about a missing prototype. The prototypes which are actually
missing are added.

cc: Albert Aribaud <albert.u.boot@aribaud.net>
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Reviewed-by: Tom Rini <trini@ti.com>
arch/arm/cpu/armv7/cache_v7.c
arch/arm/include/asm/cache.h
arch/arm/lib/cache-cp15.c
arch/arm/lib/cache.c