]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
arm: semihosting: get rid of forward declarations
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 15 Dec 2014 10:06:05 +0000 (11:06 +0100)
committerTom Rini <trini@ti.com>
Mon, 29 Dec 2014 12:44:06 +0000 (07:44 -0500)
commit9be5c661beecdb8a9d90ab4869ddb501b4990dd9
tree0a7926aa2a00ae9d9931e1476deb5cb49ada848b
parent4e1ef15091b6f42ac13c22e3acc45a9bd9cce852
arm: semihosting: get rid of forward declarations

By rearranging the functions in the semihosting code we can
avoid forward-declaration of the internal static functions.
This puts the stuff in a logical order: read/open/close/len
and then higher-order functions follow at the end.

Cc: Darwin Rambo <drambo@broadcom.com>
Cc: AKASHI Takahiro <takahiro.akashi@linaro.org>
Cc: Mark Hambleton <mark.hambleton@arm.com>
Cc: Tom Rini <trini@ti.com>
Acked-by: Steve Rae <srae@broadcom.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/lib/semihosting.c