linux-mips
[Top] [All Lists]

[PATCH] tx4927_setup.c Get rid of early_init ...

To: linux-mips@linux-mips.org
Subject: [PATCH] tx4927_setup.c Get rid of early_init ...
From: Ralf Rösch <linux@cantastic.de>
Date: Mon, 27 Jun 2005 18:47:49 +0200
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
This patch leaves the TX4927 board without an board setup handler
and the linker ends with an unknown plat_setup() error.
I would propose the following patch:

Index: arch/mips/tx4927/common/tx4927_setup.c
===================================================================
RCS file: /home/cvs/linux/arch/mips/tx4927/common/tx4927_setup.c,v
retrieving revision 1.8
diff -u -r1.8 tx4927_setup.c
--- arch/mips/tx4927/common/tx4927_setup.c      21 Jun 2005 13:56:32 -00001.8
+++ arch/mips/tx4927/common/tx4927_setup.c      27 Jun 2005 16:43:39 -0000
@@ -64,7 +64,7 @@
}


-static void __init tx4927_setup(void)
+void __init plat_setup(void)
{
       board_time_init = tx4927_time_init;
       board_timer_setup = tx4927_timer_setup;

--
 Ralf



<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] tx4927_setup.c Get rid of early_init ..., Ralf Rösch <=