From mboxrd@z Thu Jan 1 00:00:00 1970 From: coelho@ti.com (Luciano Coelho) Date: Wed, 08 Feb 2012 13:05:21 +0200 Subject: [PATCH 3.3] OMAP4: PRM: fix build breakage when CONFIG_OF is not defined In-Reply-To: <20120208110318.GC16334@legolas.emea.dhcp.ti.com> References: <1328698752-18756-1-git-send-email-coelho@ti.com> <20120208110318.GC16334@legolas.emea.dhcp.ti.com> Message-ID: <1328699121.20197.52.camel@cumari> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, 2012-02-08 at 13:03 +0200, Felipe Balbi wrote: > On Wed, Feb 08, 2012 at 12:59:12PM +0200, Luciano Coelho wrote: > > Since 3.3-rc1, prm44xx.c build breaks if CONFIG_OF is not set: > > > > arch/arm/mach-omap2/prm44xx.c:41: error: 'OMAP44XX_IRQ_PRCM' undeclared here (not in a function) > > make[1]: *** [arch/arm/mach-omap2/prm44xx.o] Error 1 > > > > This is because of a missing include, which is added indirectly if > > CONFIG_OF is defined. This problem was introduced in commit > > 2f31b51659c2d8315ea2888ba5b93076febe672b > > same as previous patch. Abbreviated commit and commit subject. Okay, I'll send v2 in a sec. > > Cc: Tero Kristo > > Signed-off-by: Luciano Coelho > > Reviewed-by: Felipe Balbi Thanks! -- Cheers, Luca.