Ver código fonte

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 anos atrás
pai
commit
d3c7de5209
1 arquivos alterados com 1 adições e 0 exclusões
  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/init.h>
+#include <linux/bug.h>
 
 #include <mach/hardware.h>
 #include <asm/page.h>