]> git.sur5r.net Git - u-boot/commit
cfi_flash: Reorder functions and eliminate extra prototypes
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Sat, 6 Oct 2007 16:55:36 +0000 (18:55 +0200)
committerStefan Roese <sr@denx.de>
Thu, 13 Dec 2007 12:14:55 +0000 (13:14 +0100)
commitbe60a9021c82fc5aecd5b2b1fc96f70a9c81bbcd
tree1694192673e001c1a355053f9dc341a3db77c805
parent3055793bcbdf24b1f8117f606ffb766d32eb766f
cfi_flash: Reorder functions and eliminate extra prototypes

Reorder the functions in cfi_flash.c so that each function only uses
functions that have been defined before it. This allows the static
prototype declarations near the top to be eliminated and might allow
gcc to do a better job inlining functions.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
drivers/mtd/cfi_flash.c