ARM:asm:io.h use static inline
authorJeroen Hofstee <jeroen@myspectrum.nl>
Sun, 22 Jun 2014 21:10:39 +0000 (23:10 +0200)
committerJae-young Hwang <j-zero.hwang@samsung.com>
Thu, 14 Jan 2016 04:20:37 +0000 (13:20 +0900)
commitb12f8e1294ef94aa8db037902b1046572f0e855f
treefdd9e96b7017aae2a6c55272829edd9142801529
parent0cdb067f7f32b8e4f32cb81a1747c3f186b4cd3c
ARM:asm:io.h use static inline

When compiling u-boot with W=1 the extern inline void for
read* is likely causing the most noise. gcc / clang will
warn there is never a actual declaration for these functions.
Instead of declaring these extern make them static inline so
it is actually declared.

Change-Id: Ic42b514a030de64b3f12a4ed427f3ffc71f60ef8
cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Signed-off-by: Jae-young Hwang <j-zero.hwang@samsung.com>
arch/arm/include/asm/io.h