From caf115681cdfc7922c7359e136e394ff766fff11 Mon Sep 17 00:00:00 2001 From: Nicolas Pitre Date: Wed, 16 Feb 2005 15:55:03 +0000 Subject: [PATCH] --- yaml --- r: 4488 b: refs/heads/master c: f16407d73effc59e1e9f88e45a3dc53cacbb8264 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/linux/mtd/map.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 7cb4d843d6ec..d3df8ea80d59 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0ea4a7558f3c5b894e46da4b2be120edf002a86d +refs/heads/master: f16407d73effc59e1e9f88e45a3dc53cacbb8264 diff --git a/trunk/include/linux/mtd/map.h b/trunk/include/linux/mtd/map.h index 8fc6679aa9b1..115b14a634da 100644 --- a/trunk/include/linux/mtd/map.h +++ b/trunk/include/linux/mtd/map.h @@ -1,6 +1,6 @@ /* Overhauled routines for dealing with different mmap regions of flash */ -/* $Id: map.h,v 1.47 2005/02/08 17:11:15 nico Exp $ */ +/* $Id: map.h,v 1.48 2005/02/16 15:54:59 nico Exp $ */ #ifndef __LINUX_MTD_MAP_H__ #define __LINUX_MTD_MAP_H__ @@ -418,7 +418,7 @@ extern void simple_map_init(struct map_info *); #define simple_map_init(map) BUG_ON(!map_bankwidth_supported((map)->bankwidth)) -#define map_is_linear(map) (1) +#define map_is_linear(map) ({ (void)(map); 1; }) #endif /* !CONFIG_MTD_COMPLEX_MAPPINGS */