From: Adrian Bunk <bunk@stusta.de>
To: "Hans-Jürgen Koch" <hjk@linutronix.de>,
"Greg Kroah-Hartman" <gregkh@suse.de>
Cc: tglx@linutronix.de, Benedikt Spranger <b.spranger@linutronix.de>,
linux-kernel@vger.kernel.org
Subject: [-mm patch] drivers/uio/uio_cif.c: convert pci_module_init()
Date: Fri, 6 Apr 2007 12:19:37 +0200 [thread overview]
Message-ID: <20070406101937.GD29169@stusta.de> (raw)
This patch converts the pci_module_init() usage to pci_register_driver().
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
--- linux-2.6.21-rc5-mm4/drivers/uio/uio_cif.c.old 2007-04-05 20:44:24.000000000 +0200
+++ linux-2.6.21-rc5-mm4/drivers/uio/uio_cif.c 2007-04-05 20:44:38.000000000 +0200
@@ -144,7 +144,7 @@
static int __init hilscher_init_module(void)
{
- return pci_module_init(&hilscher_pci_driver);
+ return pci_register_driver(&hilscher_pci_driver);
}
static void __exit hilscher_exit_module(void)
next reply other threads:[~2007-04-06 10:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-06 10:19 Adrian Bunk [this message]
2007-04-06 11:11 ` Hans-Jürgen Koch
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=20070406101937.GD29169@stusta.de \
--to=bunk@stusta.de \
--cc=b.spranger@linutronix.de \
--cc=gregkh@suse.de \
--cc=hjk@linutronix.de \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®