diff options
author | Ishizaki Kou <kou.ishizaki@toshiba.co.jp> | 2007-12-13 10:11:36 (GMT) |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-12-20 05:15:27 (GMT) |
commit | 4751505cf7299318d19a42bdabe0eb5db6d732c4 (patch) | |
tree | d6e7572a3804b07cce57aeeae1b44326cce8952e /arch/powerpc/platforms/cell/setup.c | |
parent | 38958dd9113c19cd7a927009ae585bd5aba3295e (diff) | |
download | linux-fsl-qoriq-4751505cf7299318d19a42bdabe0eb5db6d732c4.tar.xz |
[POWERPC] Cleanup calling mmio_nvram_init
This makes mmio_nvram_init() callable unconditionally by providing
a dummy definition when CONFIG_MMIO_NVRAM is not defined.
Signed-off-by: Kou Ishizaki <Kou.Ishizaki@toshiba.co.jp>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/cell/setup.c')
-rw-r--r-- | arch/powerpc/platforms/cell/setup.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/cell/setup.c b/arch/powerpc/platforms/cell/setup.c index 7f42b7d..4f6347c 100644 --- a/arch/powerpc/platforms/cell/setup.c +++ b/arch/powerpc/platforms/cell/setup.c @@ -179,9 +179,7 @@ static void __init cell_setup_arch(void) conswitchp = &dummy_con; #endif -#ifdef CONFIG_MMIO_NVRAM mmio_nvram_init(); -#endif } static int __init cell_probe(void) |