All of lore.kernel.org
 help / color / mirror / Atom feed
From: domen@coderock.org
To: wim@iguana.be
Cc: linux-kernel@vger.kernel.org, domen@coderock.org, c.lucas@ifrance.com
Subject: [patch 1/1] drivers/char/watchdog/*: convert to pci_register_driver
Date: Sun, 06 Mar 2005 23:35:44 +0100	[thread overview]
Message-ID: <20050306223544.CDA321EC90@trashy.coderock.org> (raw)


convert from pci_module_init to pci_register_driver

Signed-off-by: Christophe Lucas <c.lucas@ifrance.com>
Signed-off-by: Domen Puncer <domen@coderock.org>
---


 kj-domen/drivers/char/watchdog/pcwd_pci.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/char/watchdog/pcwd_pci.c~pci_register_driver-drivers_char_watchdog drivers/char/watchdog/pcwd_pci.c
--- kj/drivers/char/watchdog/pcwd_pci.c~pci_register_driver-drivers_char_watchdog	2005-03-05 16:12:18.000000000 +0100
+++ kj-domen/drivers/char/watchdog/pcwd_pci.c	2005-03-05 16:12:18.000000000 +0100
@@ -659,7 +659,7 @@ static int __init pcipcwd_init_module(vo
 {
 	spin_lock_init (&pcipcwd_private.io_lock);
 
-	return pci_module_init(&pcipcwd_driver);
+	return pci_register_driver(&pcipcwd_driver);
 }
 
 static void __exit pcipcwd_cleanup_module(void)
_

                 reply	other threads:[~2005-03-06 22:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20050306223544.CDA321EC90@trashy.coderock.org \
    --to=domen@coderock.org \
    --cc=c.lucas@ifrance.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wim@iguana.be \
    /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.