summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2012-03-30 08:34:29 +0200
committerOlof Johansson <olof@lixom.net>2012-03-31 00:44:48 +0200
commitd3c7de52096a201ac188adb95b8351b90cab11f1 (patch)
tree15eb9cf6bd91cab4c8312c277eaf034989db34f1
parentARM: fix builds due to missing <asm/system_misc.h> includes (diff)
downloadlinux-d3c7de52096a201ac188adb95b8351b90cab11f1.tar.xz
linux-d3c7de52096a201ac188adb95b8351b90cab11f1.zip
ARM: clps711x: fix missing include file
linux/bug.h is needed due to an ARRAY_SIZE being used: arch/arm/mach-clps711x/edb7211-mm.c: In function 'edb7211_map_io': arch/arm/mach-clps711x/edb7211-mm.c:79:9: error: implicit declaration of function 'BUILD_BUG_ON_ZERO' Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r--arch/arm/mach-clps711x/edb7211-mm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-clps711x/edb7211-mm.c b/arch/arm/mach-clps711x/edb7211-mm.c
index 0bea1454ae03..4372f06c9929 100644
--- a/arch/arm/mach-clps711x/edb7211-mm.c
+++ b/arch/arm/mach-clps711x/edb7211-mm.c
@@ -21,6 +21,7 @@
*/
#include <linux/kernel.h>
#include <linux/init.h>
+#include <linux/bug.h>
#include <mach/hardware.h>
#include <asm/page.h>