aboutsummaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2006-12-08 02:38:50 -0800
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-08 08:28:57 -0800
commitca26200511776a0b54c5c832efde48ee6445a738 (patch)
treea2b41eec6641ca78c760252050a2bc3b2867bdf2 /drivers/char
parent09a4a112559f4e93bb07d9683972e9064ae0418f (diff)
[PATCH] Char: isicom, rename init function
Rename init function from setup to init and mark it as __init, not __devinit. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Acked-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/isicom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/isicom.c b/drivers/char/isicom.c
index adaf833c543..a56491eb897 100644
--- a/drivers/char/isicom.c
+++ b/drivers/char/isicom.c
@@ -1861,7 +1861,7 @@ static void __devexit isicom_remove(struct pci_dev *pdev)
release_region(board->base, 16);
}
-static int __devinit isicom_setup(void)
+static int __init isicom_init(void)
{
int retval, idx, channel;
struct isi_port *port;
@@ -1965,7 +1965,7 @@ static void __exit isicom_exit(void)
put_tty_driver(isicom_normal);
}
-module_init(isicom_setup);
+module_init(isicom_init);
module_exit(isicom_exit);
MODULE_AUTHOR("MultiTech");