diff options
author | Richard Knutsson <ricknu-0@student.ltu.se> | 2005-11-29 18:59:14 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-09 15:13:21 -0500 |
commit | d1d6da8f9fb9a0633a2f36b84b292752d78f7d31 (patch) | |
tree | b5ca6cc364c0c23e47221ccd837c220e371aaf70 /arch/mips/vr41xx | |
parent | 065c6359071c6d7d1f8b2839317471d1d97fc70b (diff) |
[PATCH] arch: Replace pci_module_init() with pci_register_driver()
Replace obsolete pci_module_init() with pci_register_driver().
Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/mips/vr41xx')
-rw-r--r-- | arch/mips/vr41xx/common/vrc4173.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 | ||