[MTD] Make map_word_ff ware of the flash buswidth
authorThomas Gleixner <tglx@tglx.tec.linutronix.de>
Tue, 24 May 2005 18:50:18 +0000 (20:50 +0200)
committerThomas Gleixner <tglx@mtd.linutronix.de>
Tue, 24 May 2005 18:50:18 +0000 (20:50 +0200)
commit3a3ab48c68de656736f091c6ed768fa8c110a7ab
tree236d8fd4f1ce2ef32226689d254263c9c8d88219
parent22fd9a8750bcad4999768aafc8fbd8a4bd6f5aa1
[MTD] Make map_word_ff ware of the flash buswidth

map_word_ff() was setting the mapword to ~0UL regardless of the
buswidth of the mapped flash chip. The read_map functions are
buswidth aware and therefor the map_word_equal function failed.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/mtd/map.h