From: Jiri Slaby Date: Fri, 8 Dec 2006 10:38:50 +0000 (-0800) Subject: [PATCH] Char: isicom, rename init function X-Git-Tag: v2.6.20-rc1~34^2~196 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ca26200511776a0b54c5c832efde48ee6445a738;p=linux-2.6-omap-h63xx.git [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 Acked-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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");