[MTD] Make functions static, include header files with prototypes
authorAdrian Bunk <bunk@stusta.de>
Tue, 29 Nov 2005 14:49:38 +0000 (14:49 +0000)
committerThomas Gleixner <tglx@mtd.linutronix.de>
Tue, 29 Nov 2005 18:54:58 +0000 (19:54 +0100)
commit2b9175c174b83b8d97db9398efe948fa9092938f
tree636ccdc70d45b3bb1268dfd00f985c2015b8d7dc
parentee2d49de3e3a0b846ecedb36fec0e4a5ff222dcb
[MTD] Make functions static, include header files with prototypes

This patch contains the following possible cleanups:
- every file should #include the headers containing the prototypes for
  it's global functions
- make needlessly global functions static

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/mtd/chips/cfi_probe.c
drivers/mtd/devices/block2mtd.c
drivers/mtd/ftl.c
drivers/mtd/maps/physmap.c
drivers/mtd/nand/nandsim.c