diff options
author | Ishizaki Kou <kou.ishizaki@toshiba.co.jp> | 2007-12-04 03:34:53 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-12-10 21:34:39 -0500 |
commit | c7a3f93d00726b9c51b2517ddfa4767422e9e631 (patch) | |
tree | 55957061ceda62958bf137e0750f8748e46ebb71 /arch/powerpc | |
parent | 94b146ceeee18b801ad65ea78ec02449398e8221 (diff) |
[POWERPC] cell: Fix undefined reference to mmio_nvram_init
This fixes the following link error with CONFIG_PPC_CELL_NATIVE=y and
CONFIG_PPC_CELL_BLADE=n:
arch/powerpc/platforms/built-in.o: In function `.cell_setup_arch':
setup.c:(.init.text+0xe80): undefined reference to `.mmio_nvram_init'
Signed-off-by: Kou Ishizaki <Kou.Ishizaki@toshiba.co.jp>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/platforms/cell/setup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/cell/setup.c b/arch/powerpc/platforms/cell/setup.c index 98e7ef8e6fc6..6a56b6474f52 100644 --- a/arch/powerpc/platforms/cell/setup.c +++ b/arch/powerpc/platforms/cell/setup.c | |||
@@ -179,7 +179,9 @@ static void __init cell_setup_arch(void) | |||
179 | conswitchp = &dummy_con; | 179 | conswitchp = &dummy_con; |
180 | #endif | 180 | #endif |
181 | 181 | ||
182 | #ifdef CONFIG_MMIO_NVRAM | ||
182 | mmio_nvram_init(); | 183 | mmio_nvram_init(); |
184 | #endif | ||
183 | } | 185 | } |
184 | 186 | ||
185 | static int __init cell_probe(void) | 187 | static int __init cell_probe(void) |