Parcourir la 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 il y a 17 ans
Parent
commit
be60a9021c
1 fichiers modifiés avec 760 ajouts et 752 suppressions
  1. 760 752
      drivers/mtd/cfi_flash.c

Fichier diff supprimé car celui-ci est trop grand
+ 760 - 752
drivers/mtd/cfi_flash.c


Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff