summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-msm/board-trout-panel.c
diff options
context:
space:
mode:
authorDaniel Walker <dwalker@fifo99.com>2012-04-12 17:45:37 +0200
committerDavid Brown <davidb@codeaurora.org>2012-04-13 19:23:16 +0200
commit204241c27c8fa2186e6d656d587f941422fff1b9 (patch)
treec51d9739c137f246e5bf3a0db818a571f8cf94e9 /arch/arm/mach-msm/board-trout-panel.c
parentarm: msm: halibut: remove unneeded fixup (diff)
downloadlinux-204241c27c8fa2186e6d656d587f941422fff1b9.tar.xz
linux-204241c27c8fa2186e6d656d587f941422fff1b9.zip
arm: msm: trout: fix compile failure
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@fifo99.com> cc: David Howells <dhowells@redhat.com> cc: Bryan Huntsman <bryanh@codeaurora.org> cc: linux-arm-msm@vger.kernel.org cc: linux-arm-kernel@lists.infradead.org Signed-off-by: David Brown <davidb@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-msm/board-trout-panel.c')
-rw-r--r--arch/arm/mach-msm/board-trout-panel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-msm/board-trout-panel.c b/arch/arm/mach-msm/board-trout-panel.c
index 25105c1027fe..89bf6b426699 100644
--- a/arch/arm/mach-msm/board-trout-panel.c
+++ b/arch/arm/mach-msm/board-trout-panel.c
@@ -12,6 +12,7 @@
#include <asm/io.h>
#include <asm/mach-types.h>
+#include <asm/system_info.h>
#include <mach/msm_fb.h>
#include <mach/vreg.h>