summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-clps711x
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2012-03-29 23:34:29 -0700
committerOlof Johansson <olof@lixom.net>2012-03-30 15:44:48 -0700
commitd3c7de52096a201ac188adb95b8351b90cab11f1 (patch)
tree15eb9cf6bd91cab4c8312c277eaf034989db34f1 /arch/arm/mach-clps711x
parent86dfe446c2c10ab2ab437a1b0a3f29e63cb350cb (diff)
downloadop-kernel-dev-d3c7de52096a201ac188adb95b8351b90cab11f1.zip
op-kernel-dev-d3c7de52096a201ac188adb95b8351b90cab11f1.tar.gz
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>
Diffstat (limited to 'arch/arm/mach-clps711x')
-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 0bea145..4372f06 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>
OpenPOWER on IntegriCloud