Skip to content

Commit

Permalink
ARM: clps711x: fix missing include file
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Olof Johansson committed Mar 30, 2012
1 parent 86dfe44 commit d3c7de5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/mach-clps711x/edb7211-mm.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
*/
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/bug.h>

#include <mach/hardware.h>
#include <asm/page.h>
Expand Down

0 comments on commit d3c7de5

Please sign in to comment.