Selaa lähdekoodia

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 vuotta sitten
vanhempi
commit
be60a9021c
1 muutettua tiedostoa jossa 760 lisäystä ja 752 poistoa
  1. 760 752
      drivers/mtd/cfi_flash.c

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 760 - 752
drivers/mtd/cfi_flash.c


Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä