From: Greg Ungerer <gerg@xxxxxxxxxxx> We can move the QSPI init call to the more general config_BSP() code on the 523x platorm setup code. Then we can remove the initcall code all together. We can also remove the un-needed include of mcfuart.h while we are cleaning up here too. Also I noticed that we are not calling the fec_init() code here, and we should be doing that. Put that back in too. Signed-off-by: Greg Ungerer <gerg@xxxxxxxxxxx> --- arch/m68k/platform/523x/config.c | 11 +---------- 1 files changed, 1 insertions(+), 10 deletions(-) diff --git a/arch/m68k/platform/523x/config.c b/arch/m68k/platform/523x/config.c index 518c27b..7e39c69 100644 --- a/arch/m68k/platform/523x/config.c +++ b/arch/m68k/platform/523x/config.c @@ -19,7 +19,6 @@ #include <asm/machdep.h> #include <asm/coldfire.h> #include <asm/mcfsim.h> -#include <asm/mcfuart.h> /***************************************************************************/ @@ -66,18 +65,10 @@ static void m523x_cpu_reset(void) void __init config_BSP(char *commandp, int size) { mach_reset = m523x_cpu_reset; -} - -/***************************************************************************/ - -static int __init init_BSP(void) -{ + m523x_fec_init(); #ifdef CONFIG_SPI_COLDFIRE_QSPI m523x_qspi_init(); #endif - return 0; } -arch_initcall(init_BSP); - /***************************************************************************/ -- 1.7.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-m68k" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html