]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] Char: isicom, rename init function
authorJiri Slaby <jirislaby@gmail.com>
Fri, 8 Dec 2006 10:38:50 +0000 (02:38 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:28:57 +0000 (08:28 -0800)
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>
drivers/char/isicom.c

index adaf833c5431ba2ccb8b5fac24d9ce3b963acf77..a56491eb8978e51a36cf6ca0c09439026505235a 100644 (file)
@@ -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");