Skip to content

Commit

Permalink
[POWERPC] cell: Fix undefined reference to mmio_nvram_init
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
kouishizaki authored and paulusmack committed Dec 11, 2007
1 parent 94b146c commit c7a3f93
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/powerpc/platforms/cell/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,9 @@ 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)
Expand Down

0 comments on commit c7a3f93

Please sign in to comment.