Skip to contentSkip to conversation

ARM: ux500: Fix build error caused by recent variable name change

PATCH New Lee Jones 2 participants 3 messages Apr 27, 2012

Subsystems (3)
lore
Share & tools
lore

Lee Jones

author
#0 lore raw

PATCH 1/1 ARM: ux500: Fix build error caused by recent variable name change

error: ?u8500_soc_node? undeclared (first use in this function)

Was recently changed to 'u8500_local_bus_nodes'.

---
 arch/arm/mach-ux500/board-mop500.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/mach-ux500/board-mop500.c +1 -1
index 39b4a98..bc8a0d7 100644
@@ -761,7 +761,7 @@ static void __init u8500_init_machine(void)
 		snowball_platform_devs[i]->dev.parent = parent;
 
 	/* automatically probe child nodes of db8500 device */
-	of_platform_populate(NULL, u8500_soc_node, u8500_auxdata_lookup, parent);
+	of_platform_populate(NULL, u8500_local_bus_nodes, u8500_auxdata_lookup, parent);
 
 	if (of_machine_is_compatible("st-ericsson,mop500")) {
 		mop500_gpio_keys[0].gpio = GPIO_PROX_SENSOR;
Signature · 1 line
1.7.9.1
#1 lore raw

PATCH 1/1 ARM: ux500: Fix build error caused by recent variable name change

Quoted 5 lines · Lee Jones

error: ?u8500_soc_node? undeclared (first use in this function)

Was recently changed to 'u8500_local_bus_nodes'.

IIRC I already fixed this up when applying the patch renaming the node.

Can you check the ux500-core branch on my linux-stericsson tree?

Thanks,
Linus Walleij

author
#2 lore raw

PATCH 1/1 ARM: ux500: Fix build error caused by recent variable name change

Quoted 11 lines · Linus Walleij
Quoted 5 lines · Lee Jones

error: ?u8500_soc_node? undeclared (first use in this function)

Was recently changed to 'u8500_local_bus_nodes'.

IIRC I already fixed this up when applying the patch renaming the node.

Can you check the ux500-core branch on my linux-stericsson tree?

Just did.

Seemingly the patch was complete after all (I could have sworn that I tested it). I have no idea how I lost it from my own tree though.

Scrap this then.

/Lee