msm: boards: Fix fallout from removal of machine_desc in fixup
Subsystems (3)
PATCH v2 1/1 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.
---
I sent this a few weeks back. Looks like it was dropped though and now the merge window is open and Linus' tree fails to boot on these boards.
arch/arm/mach-msm/board-msm7x30.c | 4 ++-- arch/arm/mach-msm/board-msm8960.c | 4 ++-- arch/arm/mach-msm/board-msm8x60.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-)
arch/arm/mach-msm/board-msm7x30.c +2 -2
@@ -43,8 +43,8 @@extern struct sys_timer msm_timer; -static void __init msm7x30_fixup (struct machine_desc *desc,struct tag *tag, -char **cmdline,struct meminfo *mi) +static void __init msm7x30_fixup (struct tag *tag,char **cmdline, +struct meminfo *mi) {for (; tag->hdr.size; tag =tag_next (tag))if (tag->hdr.tag ==ATAG_MEM && tag->u.mem.start ==0x200000 ) {
arch/arm/mach-msm/board-msm8960.c +2 -2
@@ -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 &&
arch/arm/mach-msm/board-msm8x60.c +2 -2
@@ -30,8 +30,8 @@#include <mach/board.h> #include <mach/msm_iomap.h> -static void __init msm8x60_fixup (struct machine_desc *desc,struct tag *tag, -char **cmdline,struct meminfo *mi) +static void __init msm8x60_fixup (struct tag *tag,char **cmdline, +struct meminfo *mi) {for (; tag->hdr.size; tag =tag_next (tag)) if (tag->hdr.tag == ATAG_MEM &&
Signature · 2 lines
Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
Quoted 5 lines · Stephen Boyd
After
0744a3ee(ARM: platform fixups: remove mdesc argument to fixup function, 2010-12-20) the fixup functions introduced in 9e775ad (ARM: 7012/1: Set properTEXT_OFFSETfor newer MSMs, 2011-08-12) cause warnings like:
Quoted 7 lines
arch/arm/mach-msm/board-msm8x60.c:85: warning: initialization from incompatible pointer typeFix them by removing the
machine_descargument from the fixup functions.Signed-off-by Stephen Boyd <[email protected]>
Yes, these got missed among the merges.
Russell, would you prefer this to go through your tracker, or for me to push this to Arnd?
Thanks,
David
Signature · 2 lines
Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
Quoted 12 lines · David Brown
Quoted 11 lines · Stephen Boyd
After
0744a3ee(ARM: platform fixups: remove mdesc argument to fixup function, 2010-12-20) the fixup functions introduced in 9e775ad (ARM: 7012/1: Set properTEXT_OFFSETfor newer MSMs, 2011-08-12) cause warnings like:
arch/arm/mach-msm/board-msm8x60.c:85: warning: initialization from incompatible pointer typeFix them by removing the
machine_descargument from the fixup functions.
Quoted 8 lines
Quoted 1 line
Signed-off-by Stephen Boyd <[email protected]>Yes, these got missed among the merges.
Acked-by David Brown <[email protected]>Russell, would you prefer this to go through your tracker, or for me to push this to Arnd?
Either is fine.
Quoted 15 lines · Russell King - ARM Linux
Quoted 14 lines · David Brown
Quoted 12 lines · Stephen Boyd
After
0744a3ee(ARM: platform fixups: remove mdesc argument to fixup function, 2010-12-20) the fixup functions introduced in 9e775ad (ARM: 7012/1: Set properTEXT_OFFSETfor newer MSMs, 2011-08-12) cause warnings like:
arch/arm/mach-msm/board-msm8x60.c:85: warning: initialization from incompatible pointer typeFix them by removing the
machine_descargument from the fixup functions.Signed-off-by Stephen Boyd <[email protected]>
Quoted 8 lines
Quoted 6 lines
Yes, these got missed among the merges.
Acked-by David Brown <[email protected]>Russell, would you prefer this to go through your tracker, or for me to push this to Arnd?
Either is fine.
I can pull it, then, since it is entirely inside of MSM.
Thanks,
David
Signature · 2 lines
Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.