[PATCH 2/7] Char: isicom, rename init function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



isicom, rename init function

Rename init function from setup to init and mark it as __init, not __devinit.

Signed-off-by: Jiri Slaby <[email protected]>

---
commit e6fff2d2ab2153655ef957b6dc1e02baa9921b47
tree e67bb988a24ba312e43126f9bf74d85055945ca2
parent 71d53f8a4e470e305f9cb9ea5a25ebda21c0cd31
author Jiri Slaby <[email protected]> Thu, 19 Oct 2006 19:19:55 +0200
committer Jiri Slaby <[email protected]> Thu, 19 Oct 2006 19:19:55 +0200

 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 c9563c2..66fb11f 100644
--- a/drivers/char/isicom.c
+++ b/drivers/char/isicom.c
@@ -1860,7 +1860,7 @@ static void __devexit isicom_remove(stru
 	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;
@@ -1964,7 +1964,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");
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux