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

Tony Lindgren tony at atomide.com
Wed Mar 7 20:32:16 EST 2012


* Olof Johansson <olof at lixom.net> [120307 16:59]:
> 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!

Thanks a lot!

Tony



More information about the linux-arm-kernel mailing list