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 năm trước cách đây
mục cha
commit
be60a9021c
1 tập tin đã thay đổi với 760 bổ sung752 xóa
  1. 760 752
      drivers/mtd/cfi_flash.c

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 760 - 752
drivers/mtd/cfi_flash.c


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác