Skip to content

Commit

Permalink
[MTD] Fix it really
Browse files Browse the repository at this point in the history
tglx declares him self to be the idiot of the day.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Thomas Gleixner authored and Thomas Gleixner committed May 25, 2005
1 parent b043569 commit a8aff8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/linux/mtd/map.h
Original file line number Diff line number Diff line change
@@ -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__
Expand Down Expand Up @@ -352,7 +352,7 @@ static inline map_word map_word_ff(struct map_info *map)
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++)
Expand Down

0 comments on commit a8aff8a

Please sign in to comment.