]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
msm: fix compile failure on struct membank node member
authorDaniel Walker <dwalker@codeaurora.org>
Mon, 11 Oct 2010 22:46:52 +0000 (15:46 -0700)
committerDaniel Walker <dwalker@codeaurora.org>
Wed, 27 Oct 2010 21:24:01 +0000 (14:24 -0700)
In commit be370302742ff9948f2a42b15cb2ba174d97b930
"ARM: Remove DISCONTIGMEM support", it removed this "node" member
which cased the following compile failure in mach-msm,

linux/arch/arm/mach-msm/board-halibut.c: In function 'halibut_fixup':
linux/arch/arm/mach-msm/board-halibut.c:86: error: 'struct membank' has no member named 'node'
linux/arch/arm/mach-msm/board-halibut.c:86: error: implicit declaration of function 'PHYS_TO_NID'

I've removed the access to the node member which corrects the
compile failure.

Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
arch/arm/mach-msm/board-halibut.c

index 59edecbe126cc5ab6df4d925ff19458a06167537..75dabb16c802380d6a02e06a1807afe72282cfc9 100644 (file)
@@ -83,7 +83,6 @@ static void __init halibut_fixup(struct machine_desc *desc, struct tag *tags,
 {
        mi->nr_banks=1;
        mi->bank[0].start = PHYS_OFFSET;
-       mi->bank[0].node = PHYS_TO_NID(PHYS_OFFSET);
        mi->bank[0].size = (101*1024*1024);
 }