From: <aot...@us...> - 2004-05-24 00:23:03
|
Update of /cvsroot/gc-linux/linux/arch/ppc/platforms In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28256/arch/ppc/platforms Modified Files: gamecube.c Log Message: Move console switch into ->setup_arch() Index: gamecube.c =================================================================== RCS file: /cvsroot/gc-linux/linux/arch/ppc/platforms/gamecube.c,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- gamecube.c 16 May 2004 21:05:57 -0000 1.16 +++ gamecube.c 24 May 2004 00:22:54 -0000 1.17 @@ -29,11 +29,6 @@ extern int gamecube_set_rtc_time(unsigned long nowtime); -void __init -gamecube_setup_arch(void) -{ -} - unsigned long gamecube_find_end_of_memory(void) { return 24*1024*1024 - (640*576*2); /* 24 MB minus max. framebuffer */ @@ -84,6 +79,14 @@ return 0; } +static void __init +gamecube_setup_arch(void) +{ +#ifdef CONFIG_DUMMY_CONSOLE + conswitchp = &dummy_con; +#endif +} + void __init platform_init(unsigned long r3, unsigned long r4, unsigned long r5, unsigned long r6, unsigned long r7) @@ -116,7 +119,4 @@ ppc_md.time_init = gamecube_time_init; ppc_md.set_rtc_time = gamecube_set_rtc_time; ppc_md.get_rtc_time = gamecube_get_rtc_time; -#ifdef CONFIG_DUMMY_CONSOLE - conswitchp = &dummy_con; -#endif } |