[PATCH] arm: msm: trout: fix compile failure

David Howells dhowells at redhat.com
Mon Apr 16 04:35:28 EDT 2012


Daniel Walker <dwalker at fifo99.com> wrote:

> Fixes the following warnings,
> 
> arch/arm/mach-msm/board-trout.c: In function 'trout_init':
> arch/arm/mach-msm/board-trout.c:71: error: 'system_rev' undeclared (first use in this function)
> arch/arm/mach-msm/board-trout.c:71: error: (Each undeclared identifier is reported only once
> arch/arm/mach-msm/board-trout.c:71: error: for each function it appears in.)
> 
> and
> 
> arch/arm/mach-msm/board-trout-panel.c: In function 'trout_init_panel':
> arch/arm/mach-msm/board-trout-panel.c:267: error: 'system_rev' undeclared (first use in this function)
> arch/arm/mach-msm/board-trout-panel.c:267: error: (Each undeclared identifier is reported only once
> arch/arm/mach-msm/board-trout-panel.c:267: error: for each function it appears in.)
> 
> This came in with the following commit 9f97da78bf018206fb623cd351d454af2f105fe0
> which removes asm/system.h
> 
> Signed-off-by: Daniel Walker <dwalker at fifo99.com>
> cc: David Howells <dhowells at redhat.com>
> cc: Bryan Huntsman <bryanh at codeaurora.org>
> cc: linux-arm-msm at vger.kernel.org
> cc: linux-arm-kernel at lists.infradead.org

Acked-by: David Howells <dhowells at redhat.com>



More information about the linux-arm-kernel mailing list