aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/bttv-driver.c
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@debian.org>2006-01-09 12:25:17 -0500
committerMauro Carvalho Chehab <mchehab@brturbo.com.br>2006-01-09 12:25:17 -0500
commit2304759d7e5debbd400eca6e9bb979a186c798a9 (patch)
tree502bbd6f17154972b5c11662a6cd132eab35eb80 /drivers/media/video/bttv-driver.c
parente64a86ee2b5ef5e23ccda2cc8981a22a8111a3b3 (diff)
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>
Diffstat (limited to 'drivers/media/video/bttv-driver.c')
-rw-r--r--drivers/media/video/bttv-driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/bttv-driver.c b/drivers/media/video/bttv-driver.c
index 39e9178e599e..b93f4b5c0386 100644
--- a/drivers/media/video/bttv-driver.c
+++ b/drivers/media/video/bttv-driver.c
@@ -4253,7 +4253,7 @@ static int bttv_init_module(void)
4253 bttv_check_chipset(); 4253 bttv_check_chipset();
4254 4254
4255 bus_register(&bttv_sub_bus_type); 4255 bus_register(&bttv_sub_bus_type);
4256 return pci_module_init(&bttv_pci_driver); 4256 return pci_register_driver(&bttv_pci_driver);
4257} 4257}
4258 4258
4259static void bttv_cleanup_module(void) 4259static void bttv_cleanup_module(void)