tree f49bdc805ab0230559df6b93131bf78ecbd63b87
parent b0435695cb3b3e0542c9a3f921f40b216ec37580
author Thomas Gleixner <[EMAIL PROTECTED]> Wed, 25 May 2005 12:32:37 +0200
committer Thomas Gleixner <[EMAIL PROTECTED]> Wed, 25 May 2005 12:32:37 +0200

[MTD] Fix it really

tglx declares him self to be the idiot of the day.

Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]>

 include/linux/mtd/map.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/mtd/map.h b/include/linux/mtd/map.h
--- a/include/linux/mtd/map.h
+++ b/include/linux/mtd/map.h
@@ -1,6 +1,6 @@
 
 /* Overhauled routines for dealing with different mmap regions of flash */
-/* $Id: map.h,v 1.51 2005/05/25 10:15:29 gleixner Exp $ */
+/* $Id: map.h,v 1.52 2005/05/25 10:29:41 gleixner Exp $ */
 
 #ifndef __LINUX_MTD_MAP_H__
 #define __LINUX_MTD_MAP_H__
@@ -352,7 +352,7 @@ static inline map_word map_word_ff(struc
        int i;
        
        if (map_bankwidth(map) < MAP_FF_LIMIT) {
-               int bw = 8 * map_bankwidth;
+               int bw = 8 * map_bankwidth(map);
                r.x[0] = (1 << bw) - 1;
        } else {
                for (i=0; i<map_words(map); i++)
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to