Browse Source

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>
Haavard Skinnemoen 17 years ago
parent
commit
be60a9021c
1 changed files with 760 additions and 752 deletions
  1. 760 752
      drivers/mtd/cfi_flash.c

File diff suppressed because it is too large
+ 760 - 752
drivers/mtd/cfi_flash.c


Some files were not shown because too many files changed in this diff