diff options
-rw-r--r-- | arch/i386/kernel/scx200.c | 2 | ||||
-rw-r--r-- | arch/mips/vr41xx/common/vrc4173.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/i386/kernel/scx200.c b/arch/i386/kernel/scx200.c index 9c968ae67c43..321f5fd26e75 100644 --- a/arch/i386/kernel/scx200.c +++ b/arch/i386/kernel/scx200.c | |||
@@ -143,7 +143,7 @@ static int __init scx200_init(void) | |||
143 | { | 143 | { |
144 | printk(KERN_INFO NAME ": NatSemi SCx200 Driver\n"); | 144 | printk(KERN_INFO NAME ": NatSemi SCx200 Driver\n"); |
145 | 145 | ||
146 | return pci_module_init(&scx200_pci_driver); | 146 | return pci_register_driver(&scx200_pci_driver); |
147 | } | 147 | } |
148 | 148 | ||
149 | static void __exit scx200_cleanup(void) | 149 | static void __exit scx200_cleanup(void) |
diff --git a/arch/mips/vr41xx/common/vrc4173.c b/arch/mips/vr41xx/common/vrc4173.c index 462a9af30eef..cc52e75e14e7 100644 --- a/arch/mips/vr41xx/common/vrc4173.c +++ b/arch/mips/vr41xx/common/vrc4173.c | |||
@@ -561,7 +561,7 @@ static int __devinit vrc4173_init(void) | |||
561 | { | 561 | { |
562 | int err; | 562 | int err; |
563 | 563 | ||
564 | err = pci_module_init(&vrc4173_driver); | 564 | err = pci_register_driver(&vrc4173_driver); |
565 | if (err < 0) | 565 | if (err < 0) |
566 | return err; | 566 | return err; |
567 | 567 | ||