mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/6] arch: Replace pci_module_init() with pci_register_driver()
@ 2005-11-29 23:59 Richard Knutsson
  2005-11-29 23:59 ` [PATCH 2/6] drivers/block: " Richard Knutsson
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Richard Knutsson @ 2005-11-29 23:59 UTC (permalink / raw)
  To: linux-kernel; +Cc: Richard Knutsson

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;
 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-11-30  0:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-29 23:59 [PATCH 1/6] arch: Replace pci_module_init() with pci_register_driver() Richard Knutsson
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

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