summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-msm/board-msm8960.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2011-10-25 09:35:19 -0700
committerDavid Brown <davidb@codeaurora.org>2011-11-01 16:10:33 -0700
commit47a6770ac6cd0d28f14dd9e1b17705abe6f05e41 (patch)
treeeeff9d16c6c8b58b4d88c3b1f29e3d77d3ed207b /arch/arm/mach-msm/board-msm8960.c
parentb4beb4bf9934d151bf4581a54ae028927374cb2a (diff)
msm: boards: Fix fallout from removal of machine_desc in fixup
After 0744a3ee (ARM: platform fixups: remove mdesc argument to fixup function, 2010-12-20) the fixup functions introduced in 9e775ad (ARM: 7012/1: Set proper TEXT_OFFSET for newer MSMs, 2011-08-12) cause warnings like: arch/arm/mach-msm/board-msm8x60.c:85: warning: initialization from incompatible pointer type Fix them by removing the machine_desc argument from the fixup functions. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: David Brown <davidb@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-msm/board-msm8960.c')
-rw-r--r--arch/arm/mach-msm/board-msm8960.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-msm/board-msm8960.c b/arch/arm/mach-msm/board-msm8960.c
index b04468e7d00..6dc1cbd2a59 100644
--- a/arch/arm/mach-msm/board-msm8960.c
+++ b/arch/arm/mach-msm/board-msm8960.c
@@ -32,8 +32,8 @@
#include "devices.h"
-static void __init msm8960_fixup(struct machine_desc *desc, struct tag *tag,
- char **cmdline, struct meminfo *mi)
+static void __init msm8960_fixup(struct tag *tag, char **cmdline,
+ struct meminfo *mi)
{
for (; tag->hdr.size; tag = tag_next(tag))
if (tag->hdr.tag == ATAG_MEM &&