From: Simon Glass Date: Tue, 3 Jan 2012 19:49:19 +0000 (+0100) Subject: ARM: 7267/1: Remove BUILD_BUG_ON from asm/bug.h X-Git-Tag: v3.3-rc1~176^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27edacac7d97d37ec77779c7da08345298a5d283;p=pandora-kernel.git ARM: 7267/1: Remove BUILD_BUG_ON from asm/bug.h BUILD_BUG_ON is defined in linux/kernel.h but that is not included by the asm/bug.h header which uses it. This causes a build error: ...include/linux/mtd/map.h: In function 'inline_map_read': ...include/linux/mtd/map.h:408:3: error: implicit declaration of function 'BUILD_BUG_ON' [-Werror=implicit-function-declaration] The check is not essential and is not present for other architectures, so just remove it. Signed-off-by: Simon Glass Signed-off-by: Russell King --- Reading git-diff-tree failed