From: Russell King <rmk@arm.linux.org.uk>
To: Linux Kernel List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] 2/3: Console initcalls return int, zero for success.
Date: Wed, 16 Apr 2003 23:43:35 +0100 [thread overview]
Message-ID: <20030416234335.C17775@flint.arm.linux.org.uk> (raw)
In-Reply-To: <20030416234227.B17775@flint.arm.linux.org.uk>; from rmk@arm.linux.org.uk on Wed, Apr 16, 2003 at 11:42:27PM +0100
diff -Nru a/drivers/serial/68328serial.c b/drivers/serial/68328serial.c
--- a/drivers/serial/68328serial.c Wed Apr 16 23:25:53 2003
+++ b/drivers/serial/68328serial.c Wed Apr 16 23:25:53 2003
@@ -1691,9 +1691,10 @@
};
-static void __init m68328_console_init(void)
+static int __init m68328_console_init(void)
{
register_console(&m68328_driver);
+ return 0;
}
console_initcall(m68328_console_init);
diff -Nru a/drivers/serial/amba.c b/drivers/serial/amba.c
--- a/drivers/serial/amba.c Wed Apr 16 23:25:53 2003
+++ b/drivers/serial/amba.c Wed Apr 16 23:25:53 2003
@@ -705,9 +705,10 @@
.index = -1,
};
-static void __init ambauart_console_init(void)
+static int __init ambauart_console_init(void)
{
register_console(&amba_console);
+ return 0;
}
console_initcall(ambauart_console_init);
diff -Nru a/drivers/serial/anakin.c b/drivers/serial/anakin.c
--- a/drivers/serial/anakin.c Wed Apr 16 23:25:53 2003
+++ b/drivers/serial/anakin.c Wed Apr 16 23:25:53 2003
@@ -502,10 +502,10 @@
.index = -1,
};
-static void __init
-anakin_console_init(void)
+static int __init anakin_console_init(void)
{
register_console(&anakin_console);
+ return 0;
}
console_initcall(anakin_console_init);
diff -Nru a/drivers/serial/clps711x.c b/drivers/serial/clps711x.c
--- a/drivers/serial/clps711x.c Wed Apr 16 23:25:53 2003
+++ b/drivers/serial/clps711x.c Wed Apr 16 23:25:53 2003
@@ -567,9 +567,10 @@
.index = -1,
};
-static void __init clps711xuart_console_init(void)
+static int __init clps711xuart_console_init(void)
{
register_console(&clps711x_console);
+ return 0;
}
console_initcall(clps711xuart_console_init);
diff -Nru a/drivers/serial/mcfserial.c b/drivers/serial/mcfserial.c
--- a/drivers/serial/mcfserial.c Wed Apr 16 23:25:53 2003
+++ b/drivers/serial/mcfserial.c Wed Apr 16 23:25:53 2003
@@ -1853,9 +1853,10 @@
.index = -1,
};
-static void __init mcfrs_console_init(void)
+static int __init mcfrs_console_init(void)
{
register_console(&mcfrs_console);
+ return 0;
}
console_initcall(mcfrs_console_init);
diff -Nru a/drivers/serial/sa1100.c b/drivers/serial/sa1100.c
--- a/drivers/serial/sa1100.c Wed Apr 16 23:25:53 2003
+++ b/drivers/serial/sa1100.c Wed Apr 16 23:25:53 2003
@@ -836,10 +836,11 @@
.index = -1,
};
-static void __init sa1100_rs_console_init(void)
+static int __init sa1100_rs_console_init(void)
{
sa1100_init_ports();
register_console(&sa1100_console);
+ return 0;
}
console_initcall(sa1100_rs_console_init);
diff -Nru a/drivers/serial/uart00.c b/drivers/serial/uart00.c
--- a/drivers/serial/uart00.c Wed Apr 16 23:25:53 2003
+++ b/drivers/serial/uart00.c Wed Apr 16 23:25:53 2003
@@ -645,9 +645,10 @@
.index = 0,
};
-static void __init uart00_console_init(void)
+static int __init uart00_console_init(void)
{
register_console(&uart00_console);
+ return 0;
}
console_initcall(uart00_console_init);
--
Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html
next prev parent reply other threads:[~2003-04-16 22:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-16 22:42 [PATCH] 1/3: Remove USR 56K voice modem specific PCI table entry Russell King
2003-04-16 22:43 ` Russell King [this message]
2003-04-16 22:45 ` [PATCH] 3/3: Move make modem control signals accessible to line discplines Russell King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030416234335.C17775@flint.arm.linux.org.uk \
--to=rmk@arm.linux.org.uk \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox