arm: tegra: fix compilation of board-harmony.c
authorOlof Johansson <olof@lixom.net>
Wed, 18 Aug 2010 06:18:43 +0000 (01:18 -0500)
committerColin Cross <ccross@google.com>
Sun, 22 Aug 2010 19:54:14 +0000 (12:54 -0700)
commita68820db790351076039f936fa6317a2b3439e55
tree72ccfc3c505127c3c226cd3eaed809736e8d1c81
parente36c886a0f9d624377977fa6cae309cfd7f362fa
arm: tegra: fix compilation of board-harmony.c

The patch "ARM: Remove DISCONTIGMEM support" removed the node id from
the meminfo struct and the PHYS_TO_NID macro, causing compilation errors:

arch/arm/mach-tegra/board-harmony.c: In function 'tegra_harmony_fixup':
arch/arm/mach-tegra/board-harmony.c:94: error: 'struct membank' has no member named 'node'
arch/arm/mach-tegra/board-harmony.c:94: error: implicit declaration of function 'PHYS_TO_NID'
arch/arm/mach-tegra/board-harmony.c:97: error: 'struct membank' has no member named 'node'

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Colin Cross <ccross@google.com>
arch/arm/mach-tegra/board-harmony.c