瀏覽代碼

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>
Olof Johansson 13 年之前
父節點
當前提交
d3c7de5209
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      arch/arm/mach-clps711x/edb7211-mm.c

+ 1 - 0
arch/arm/mach-clps711x/edb7211-mm.c

@@ -21,6 +21,7 @@
  */
  */
 #include <linux/kernel.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
 #include <linux/init.h>
+#include <linux/bug.h>
 
 
 #include <mach/hardware.h>
 #include <mach/hardware.h>
 #include <asm/page.h>
 #include <asm/page.h>