]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP2+: Fix build issues with missing include of linux/bug.h
authorTony Lindgren <tony@atomide.com>
Thu, 8 Mar 2012 01:28:01 +0000 (17:28 -0800)
committerOlof Johansson <olof@lixom.net>
Thu, 8 Mar 2012 01:29:34 +0000 (17:29 -0800)
commitc15eed47a99cae8e0dab15208294de2dbda10139
tree9c2e047966dc30462acc17431fe04679d4f1f309
parentbaf45c889ec14f329324acb64322dcf818e91312
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>
arch/arm/mach-omap2/clkt_clksel.c
arch/arm/mach-omap2/powerdomain-common.c
arch/arm/mach-omap2/powerdomain2xxx_3xxx.c
arch/arm/mach-omap2/powerdomains3xxx_data.c