Messages in this thread Patch in this message | | | Date | Wed, 30 Nov 2005 00:59:14 +0100 (MET) | From | Richard Knutsson <> | Subject | [PATCH 1/6] arch: Replace pci_module_init() with pci_register_driver() |
| |
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; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |