V4L/DVB (3110): Replace all uses of pci_module_init with pci_register_driver

This patch replace all calls to pci_module_init, that's deprecated and
will be removed in future, with pci_register_driver that should be
the used function now.

Signed-off-by: Otavio Salvador <otavio@debian.org>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
This commit is contained in:
Otavio Salvador 2006-01-09 15:25:17 -02:00 committed by Mauro Carvalho Chehab
parent e64a86ee2b
commit 2304759d7e
2 changed files with 2 additions and 2 deletions

View File

@ -4253,7 +4253,7 @@ static int bttv_init_module(void)
bttv_check_chipset();
bus_register(&bttv_sub_bus_type);
return pci_module_init(&bttv_pci_driver);
return pci_register_driver(&bttv_pci_driver);
}
static void bttv_cleanup_module(void)

View File

@ -1156,7 +1156,7 @@ static int saa7134_init(void)
printk(KERN_INFO "saa7130/34: snapshot date %04d-%02d-%02d\n",
SNAPSHOT/10000, (SNAPSHOT/100)%100, SNAPSHOT%100);
#endif
return pci_module_init(&saa7134_pci_driver);
return pci_register_driver(&saa7134_pci_driver);
}
static void saa7134_fini(void)