summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/powerdomain-common.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2012-03-08 02:28:01 +0100
committerOlof Johansson <olof@lixom.net>2012-03-08 02:29:34 +0100
commitd9a5f4dd437ceb007e1f118e90ba5587a5e04d20 (patch)
tree9c2e047966dc30462acc17431fe04679d4f1f309 /arch/arm/mach-omap2/powerdomain-common.c
parentMerge branch 'fixes-non-critical-part2' of git://git.kernel.org/pub/scm/linux... (diff)
downloadlinux-d9a5f4dd437ceb007e1f118e90ba5587a5e04d20.tar.xz
linux-d9a5f4dd437ceb007e1f118e90ba5587a5e04d20.zip
ARM: OMAP2+: Fix build issues with missing include of linux/bug.h
Otherwise we can get the following if bug.h is not included from kernel.h: arch/arm/mach-omap2/powerdomain-common.c: In function 'omap2_pwrdm_get_mem_bank_onstate_mask': arch/arm/mach-omap2/powerdomain-common.c:64:3: error: implicit declaration of function 'WARN_ON' [-Werror=implicit-function-declaration] cc1: some warnings being treated as errors Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-omap2/powerdomain-common.c')
-rw-r--r--arch/arm/mach-omap2/powerdomain-common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/powerdomain-common.c b/arch/arm/mach-omap2/powerdomain-common.c
index f97afff68d6d..c0aeabfcf009 100644
--- a/arch/arm/mach-omap2/powerdomain-common.c
+++ b/arch/arm/mach-omap2/powerdomain-common.c
@@ -13,6 +13,7 @@
#include <linux/errno.h>
#include <linux/kernel.h>
+#include <linux/bug.h>
#include "pm.h"
#include "cm.h"
#include "cm-regbits-34xx.h"