ARM: clps711x: fix missing include file
authorOlof Johansson <olof@lixom.net>
Fri, 30 Mar 2012 06:34:29 +0000 (23:34 -0700)
committerOlof Johansson <olof@lixom.net>
Fri, 30 Mar 2012 22:44:48 +0000 (15:44 -0700)
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>
arch/arm/mach-clps711x/edb7211-mm.c

index 0bea1454ae03fff25ee689b61e3999a826559a36..4372f06c9929657ac423fc4b0c84e78f170e0566 100644 (file)
@@ -21,6 +21,7 @@
  */
 #include <linux/kernel.h>
 #include <linux/init.h>
+#include <linux/bug.h>
 
 #include <mach/hardware.h>
 #include <asm/page.h>