ARM: OMAP2+: Fix build issues with missing include of linux/bug.h
authorTony Lindgren <tony@atomide.com>
Wed, 7 Mar 2012 21:40:47 +0000 (13:40 -0800)
committerTony Lindgren <tony@atomide.com>
Thu, 8 Mar 2012 01:32:26 +0000 (17:32 -0800)
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>

No differences found