From: Richard Knutsson <ricknu-0@student.ltu.se>
To: driver-support@fabric7.com
Cc: linux-kernel@vger.kernel.org,
Andrew Morton <akpm@linux-foundation.org>,
Richard Knutsson <ricknu-0@student.ltu.se>
Subject: [PATCH -mm] drivers/net/vioc/vioc_driver.c: Replace pci_module_init with pci_register_driver
Date: Sat, 24 Feb 2007 11:46:37 +0100 (MET) [thread overview]
Message-ID: <20070224104634.20864.96190.sendpatchset@thinktank.campus.ltu.se> (raw)
Replace pci_module_init with pci_register_driver
Signed-off-by: Richard Knutson <ricknu-0@student.ltu.se>
---
Not compile-tested (but should be correct!)
--- a/drivers/net/vioc/vioc_driver.c 2007-02-24 10:04:03.000000000 +0100
+++ b/drivers/net/vioc/vioc_driver.c 2007-02-24 10:05:01.000000000 +0100
@@ -841,9 +841,9 @@ static int __init vioc_module_init(void)
vioc_irq_init();
spp_init();
- ret = pci_module_init(&vioc_driver);
+ ret = pci_register_driver(&vioc_driver);
if (ret) {
- printk(KERN_ERR "%s: pci_module_init() -> %d\n", __FUNCTION__,
+ printk(KERN_ERR "%s: pci_register_driver() -> %d\n", __FUNCTION__,
ret);
vioc_irq_exit();
return ret;
reply other threads:[~2007-02-24 10:47 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=20070224104634.20864.96190.sendpatchset@thinktank.campus.ltu.se \
--to=ricknu-0@student.ltu.se \
--cc=akpm@linux-foundation.org \
--cc=driver-support@fabric7.com \
--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 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®