[PATCH v2] ARM: OMAP2+: Fix build issues with missing include of linux/bug.h

Olof Johansson olof at lixom.net
Wed Mar 7 20:31:19 EST 2012


On Wed, Mar 7, 2012 at 5:28 PM, Tony Lindgren <tony at atomide.com> wrote:
> 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 at atomide.com>

Applied to next/fixes-non-critical. Thanks!


-Olof



More information about the linux-arm-kernel mailing list