From: Richard Knutsson <ricknu-0@student.ltu.se>
To: linux-kernel@vger.kernel.org
Cc: Richard Knutsson <ricknu-0@student.ltu.se>
Subject: [PATCH 1/6] arch: Replace pci_module_init() with pci_register_driver()
Date: Wed, 30 Nov 2005 00:59:14 +0100 (MET) [thread overview]
Message-ID: <20051130000425.1009.94647.sendpatchset@thinktank.campus.ltu.se> (raw)
From: Richard Knutsson <ricknu-0@student.ltu.se>
Replace obsolete pci_module_init() with pci_register_driver().
Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se>
---
i386/kernel/scx200.c | 2 +-
mips/vr41xx/common/vrc4173.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff -Narup a/arch/i386/kernel/scx200.c b/arch/i386/kernel/scx200.c
--- a/arch/i386/kernel/scx200.c 2005-11-29 11:08:42.000000000 +0100
+++ b/arch/i386/kernel/scx200.c 2005-11-29 16:29:34.000000000 +0100
@@ -143,7 +143,7 @@ static int __init scx200_init(void)
{
printk(KERN_INFO NAME ": NatSemi SCx200 Driver\n");
- return pci_module_init(&scx200_pci_driver);
+ return pci_register_driver(&scx200_pci_driver);
}
static void __exit scx200_cleanup(void)
diff -Narup a/arch/mips/vr41xx/common/vrc4173.c b/arch/mips/vr41xx/common/vrc4173.c
--- a/arch/mips/vr41xx/common/vrc4173.c 2005-11-29 11:08:45.000000000 +0100
+++ b/arch/mips/vr41xx/common/vrc4173.c 2005-11-29 16:30:33.000000000 +0100
@@ -561,7 +561,7 @@ static int __devinit vrc4173_init(void)
{
int err;
- err = pci_module_init(&vrc4173_driver);
+ err = pci_register_driver(&vrc4173_driver);
if (err < 0)
return err;
next reply other threads:[~2005-11-29 23:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-29 23:59 Richard Knutsson [this message]
2005-11-29 23:59 ` [PATCH 2/6] drivers/block: " Richard Knutsson
2005-11-29 23:59 ` [PATCH 3/6] drivers/net: " Richard Knutsson
2005-11-30 0:00 ` [PATCH 4/6] drivers/scsi: " Richard Knutsson
2005-11-30 0:00 ` [PATCH 5/6] drivers/*rest*: " Richard Knutsson
2005-11-30 0:00 ` [PATCH 6/6] pci.h: Delete Replace pci_module_init() Richard Knutsson
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=20051130000425.1009.94647.sendpatchset@thinktank.campus.ltu.se \
--to=ricknu-0@student.ltu.se \
--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
Powered by JetHome