Commit ca262005 authored by Jiri Slaby's avatar Jiri Slaby Committed by Linus Torvalds

[PATCH] Char: isicom, rename init function

Rename init function from setup to init and mark it as __init, not __devinit.
Signed-off-by: default avatarJiri Slaby <jirislaby@gmail.com>
Acked-by: default avatarAlan Cox <alan@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 09a4a112
...@@ -1861,7 +1861,7 @@ static void __devexit isicom_remove(struct pci_dev *pdev) ...@@ -1861,7 +1861,7 @@ static void __devexit isicom_remove(struct pci_dev *pdev)
release_region(board->base, 16); release_region(board->base, 16);
} }
static int __devinit isicom_setup(void) static int __init isicom_init(void)
{ {
int retval, idx, channel; int retval, idx, channel;
struct isi_port *port; struct isi_port *port;
...@@ -1965,7 +1965,7 @@ static void __exit isicom_exit(void) ...@@ -1965,7 +1965,7 @@ static void __exit isicom_exit(void)
put_tty_driver(isicom_normal); put_tty_driver(isicom_normal);
} }
module_init(isicom_setup); module_init(isicom_init);
module_exit(isicom_exit); module_exit(isicom_exit);
MODULE_AUTHOR("MultiTech"); MODULE_AUTHOR("MultiTech");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment