]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM:asm:io.h use static inline
authorJeroen Hofstee <jeroen@myspectrum.nl>
Sun, 22 Jun 2014 21:10:39 +0000 (23:10 +0200)
committerTom Rini <trini@ti.com>
Fri, 29 Aug 2014 19:50:43 +0000 (15:50 -0400)
commit8863aa5c984460ce1112d8db895cbf8b13a6ac9d
treeb03ae22a23b388bee479f06521ed76dfc34ed3e7
parent6defdc0b5552ab1af4a66a8abac8196cbb6b9e15
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.

cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
arch/arm/include/asm/io.h