aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mtd/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mtd/map.h')
-rw-r--r--include/linux/mtd/map.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mtd/map.h b/include/linux/mtd/map.h
index dbd7b9b510d3..142963f01d29 100644
--- a/include/linux/mtd/map.h
+++ b/include/linux/mtd/map.h
@@ -1,6 +1,6 @@
1 1
2/* Overhauled routines for dealing with different mmap regions of flash */ 2/* Overhauled routines for dealing with different mmap regions of flash */
3/* $Id: map.h,v 1.51 2005/05/25 10:15:29 gleixner Exp $ */ 3/* $Id: map.h,v 1.52 2005/05/25 10:29:41 gleixner Exp $ */
4 4
5#ifndef __LINUX_MTD_MAP_H__ 5#ifndef __LINUX_MTD_MAP_H__
6#define __LINUX_MTD_MAP_H__ 6#define __LINUX_MTD_MAP_H__
@@ -352,7 +352,7 @@ static inline map_word map_word_ff(struct map_info *map)
352 int i; 352 int i;
353 353
354 if (map_bankwidth(map) < MAP_FF_LIMIT) { 354 if (map_bankwidth(map) < MAP_FF_LIMIT) {
355 int bw = 8 * map_bankwidth; 355 int bw = 8 * map_bankwidth(map);
356 r.x[0] = (1 << bw) - 1; 356 r.x[0] = (1 << bw) - 1;
357 } else { 357 } else {
358 for (i=0; i<map_words(map); i++) 358 for (i=0; i<map_words(map); i++)