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>
master
Haavard Skinnemoen 17 years ago committed by Stefan Roese
parent 3055793bcb
commit be60a9021c
  1. 1897
      drivers/mtd/cfi_flash.c

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save