]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc5101e1ae1d7ae281fa94167c691f6d848a25041
tree0a53a38c39c14c1cf94586209b395c21cb6b4692
parent227b5623365884d6675c56b7a749431c1c22174b
msm: fix compile failure on struct membank node member

In commit 8759b838447ac76b4ed89da9616993e3d008970c
"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