[PATCH] drivers/*rest*: 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>
This commit is contained in:
Richard Knutsson
2005-11-30 01:00:35 +01:00
committed by Greg Kroah-Hartman
parent 46654728b5
commit 93b47684f6
5 changed files with 5 additions and 4 deletions

View File

@ -841,7 +841,7 @@ static int __devinit vt8231_pci_probe(struct pci_dev *dev,
static int __init sm_vt8231_init(void)
{
return pci_module_init(&vt8231_pci_driver);
return pci_register_driver(&vt8231_pci_driver);
}
static void __exit sm_vt8231_exit(void)