All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jiri Slaby <jirislaby@gmail.com>
To: Andrew Morton <akpm@osdl.org>
Cc: <linux-kernel@vger.kernel.org>
Subject: [PATCH 2/7] Char: isicom, rename init function
Date: Thu, 19 Oct 2006 22:26:57 +0200 (CEST)	[thread overview]
Message-ID: <233127106965420505@wsc.cz> (raw)

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>

---
commit e6fff2d2ab2153655ef957b6dc1e02baa9921b47
tree e67bb988a24ba312e43126f9bf74d85055945ca2
parent 71d53f8a4e470e305f9cb9ea5a25ebda21c0cd31
author Jiri Slaby <jirislaby@gmail.com> Thu, 19 Oct 2006 19:19:55 +0200
committer Jiri Slaby <jirislaby@gmail.com> 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");

             reply	other threads:[~2006-10-19 20:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-19 20:26 Jiri Slaby [this message]
2006-10-19 21:51 ` [PATCH 2/7] Char: isicom, rename init function Alan Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=233127106965420505@wsc.cz \
    --to=jirislaby@gmail.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.