diff options
Diffstat (limited to 'include/linux/mtd/map.h')
-rw-r--r-- | 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 index 8fc6679aa9b1..115b14a634da 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.47 2005/02/08 17:11:15 nico Exp $ */ | 3 | /* $Id: map.h,v 1.48 2005/02/16 15:54:59 nico 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__ |
@@ -418,7 +418,7 @@ extern void simple_map_init(struct map_info *); | |||
418 | 418 | ||
419 | 419 | ||
420 | #define simple_map_init(map) BUG_ON(!map_bankwidth_supported((map)->bankwidth)) | 420 | #define simple_map_init(map) BUG_ON(!map_bankwidth_supported((map)->bankwidth)) |
421 | #define map_is_linear(map) (1) | 421 | #define map_is_linear(map) ({ (void)(map); 1; }) |
422 | 422 | ||
423 | #endif /* !CONFIG_MTD_COMPLEX_MAPPINGS */ | 423 | #endif /* !CONFIG_MTD_COMPLEX_MAPPINGS */ |
424 | 424 | ||