aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/bttv-driver.c2
-rw-r--r--drivers/media/video/saa7134/saa7134-core.c2
2 files changed, 2 insertions, 2 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)
diff --git a/drivers/media/video/saa7134/saa7134-core.c b/drivers/media/video/saa7134/saa7134-core.c
index 23d8747338ed..21cb3d6be839 100644
--- a/drivers/media/video/saa7134/saa7134-core.c
+++ b/drivers/media/video/saa7134/saa7134-core.c
@@ -1156,7 +1156,7 @@ static int saa7134_init(void)
1156 printk(KERN_INFO "saa7130/34: snapshot date %04d-%02d-%02d\n", 1156 printk(KERN_INFO "saa7130/34: snapshot date %04d-%02d-%02d\n",
1157 SNAPSHOT/10000, (SNAPSHOT/100)%100, SNAPSHOT%100); 1157 SNAPSHOT/10000, (SNAPSHOT/100)%100, SNAPSHOT%100);
1158#endif 1158#endif
1159 return pci_module_init(&saa7134_pci_driver); 1159 return pci_register_driver(&saa7134_pci_driver);
1160} 1160}
1161 1161
1162static void saa7134_fini(void) 1162static void saa7134_fini(void)