[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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
Richard Knutsson 2005-11-30 01:00:35 +01:00 • committed by Greg Kroah-Hartman
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)