* [PATCH 2.6] vr41xx: update setup functions
@ 2005-05-22 2:20 Yoichi Yuasa
2005-05-23 11:14 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Yoichi Yuasa @ 2005-05-22 2:20 UTC (permalink / raw)
To: Ralf Baechle; +Cc: yuasa, linux-mips
Hi,
This patch had updated vr41xx setup functions.
o add __init
o change from early_initcall to arch_initcall
Please apply.
Yoichi
Signed-off-by: Yoichi Yuasa <yuasa@hh.iij4u.or.jp>
diff -urN -X dontdiff b-orig/arch/mips/vr41xx/casio-e55/setup.c b/arch/mips/vr41xx/casio-e55/setup.c
--- b-orig/arch/mips/vr41xx/casio-e55/setup.c Sat Apr 23 22:59:07 2005
+++ b/arch/mips/vr41xx/casio-e55/setup.c Sat Apr 23 23:32:33 2005
@@ -17,6 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#include <linux/init.h>
#include <linux/ioport.h>
#include <asm/io.h>
@@ -27,7 +28,7 @@
return "CASIO CASSIOPEIA E-11/15/55/65";
}
-static int casio_e55_setup(void)
+static int __init casio_e55_setup(void)
{
set_io_port_base(IO_PORT_BASE);
ioport_resource.start = IO_PORT_RESOURCE_START;
@@ -36,4 +37,4 @@
return 0;
}
-early_initcall(casio_e55_setup);
+arch_initcall(casio_e55_setup);
diff -urN -X dontdiff b-orig/arch/mips/vr41xx/ibm-workpad/setup.c b/arch/mips/vr41xx/ibm-workpad/setup.c
--- b-orig/arch/mips/vr41xx/ibm-workpad/setup.c Sat Apr 23 22:59:08 2005
+++ b/arch/mips/vr41xx/ibm-workpad/setup.c Sat Apr 23 23:32:33 2005
@@ -17,6 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#include <linux/init.h>
#include <linux/ioport.h>
#include <asm/io.h>
@@ -27,7 +28,7 @@
return "IBM WorkPad z50";
}
-static int ibm_workpad_setup(void)
+static int __init ibm_workpad_setup(void)
{
set_io_port_base(IO_PORT_BASE);
ioport_resource.start = IO_PORT_RESOURCE_START;
@@ -36,4 +37,4 @@
return 0;
}
-early_initcall(ibm_workpad_setup);
+arch_initcall(ibm_workpad_setup);
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 2.6] vr41xx: update setup functions
2005-05-22 2:20 [PATCH 2.6] vr41xx: update setup functions Yoichi Yuasa
@ 2005-05-23 11:14 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2005-05-23 11:14 UTC (permalink / raw)
To: Yoichi Yuasa; +Cc: linux-mips
On Sun, May 22, 2005 at 11:20:30AM +0900, Yoichi Yuasa wrote:
> This patch had updated vr41xx setup functions.
> o add __init
> o change from early_initcall to arch_initcall
Applied,
Ralf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-05-23 11:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-22 2:20 [PATCH 2.6] vr41xx: update setup functions Yoichi Yuasa
2005-05-23 11:14 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox