diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2006-12-08 05:38:50 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 11:28:57 -0500 |
commit | ca26200511776a0b54c5c832efde48ee6445a738 (patch) | |
tree | a2b41eec6641ca78c760252050a2bc3b2867bdf2 /drivers | |
parent | 09a4a112559f4e93bb07d9683972e9064ae0418f (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')
-rw-r--r-- | drivers/char/isicom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/isicom.c b/drivers/char/isicom.c index adaf833c5431..a56491eb8978 100644 --- a/drivers/char/isicom.c +++ b/drivers/char/isicom.c | |||
@@ -1861,7 +1861,7 @@ static void __devexit isicom_remove(struct pci_dev *pdev) | |||
1861 | release_region(board->base, 16); | 1861 | release_region(board->base, 16); |
1862 | } | 1862 | } |
1863 | 1863 | ||
1864 | static int __devinit isicom_setup(void) | 1864 | static int __init isicom_init(void) |
1865 | { | 1865 | { |
1866 | int retval, idx, channel; | 1866 | int retval, idx, channel; |
1867 | struct isi_port *port; | 1867 | struct isi_port *port; |
@@ -1965,7 +1965,7 @@ static void __exit isicom_exit(void) | |||
1965 | put_tty_driver(isicom_normal); | 1965 | put_tty_driver(isicom_normal); |
1966 | } | 1966 | } |
1967 | 1967 | ||
1968 | module_init(isicom_setup); | 1968 | module_init(isicom_init); |
1969 | module_exit(isicom_exit); | 1969 | module_exit(isicom_exit); |
1970 | 1970 | ||
1971 | MODULE_AUTHOR("MultiTech"); | 1971 | MODULE_AUTHOR("MultiTech"); |