diff options
author | Richard Knutsson <ricknu-0@student.ltu.se> | 2005-11-30 00:59:14 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-09 12:13:21 -0800 |
commit | d1d6da8f9fb9a0633a2f36b84b292752d78f7d31 (patch) | |
tree | b5ca6cc364c0c23e47221ccd837c220e371aaf70 /arch/i386 | |
parent | 065c6359071c6d7d1f8b2839317471d1d97fc70b (diff) | |
download | blackbird-op-linux-d1d6da8f9fb9a0633a2f36b84b292752d78f7d31.tar.gz blackbird-op-linux-d1d6da8f9fb9a0633a2f36b84b292752d78f7d31.zip |
[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/i386')
-rw-r--r-- | arch/i386/kernel/scx200.c | 2 |
1 files changed, 1 insertions, 1 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) { 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) |