Commit c418775a authored by Gerd Knorr's avatar Gerd Knorr Committed by Linus Torvalds

[PATCH] media/video/cx88*: convert pci_module_init to pci_register_driver

convert from pci_module_init to pci_register_driver
Signed-off-by: default avatarChristophe Lucas <c.lucas@ifrance.com>
Signed-off-by: default avatarDomen Puncer <domen@coderock.org>
Signed-off-by: default avatarGerd Knorr <kraxel@bytesex.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 1313943f
......@@ -892,7 +892,7 @@ static int blackbird_init(void)
printk(KERN_INFO "cx2388x: snapshot date %04d-%02d-%02d\n",
SNAPSHOT/10000, (SNAPSHOT/100)%100, SNAPSHOT%100);
#endif
return pci_module_init(&blackbird_pci_driver);
return pci_register_driver(&blackbird_pci_driver);
}
static void blackbird_fini(void)
......
......@@ -362,7 +362,7 @@ static int dvb_init(void)
printk(KERN_INFO "cx2388x: snapshot date %04d-%02d-%02d\n",
SNAPSHOT/10000, (SNAPSHOT/100)%100, SNAPSHOT%100);
#endif
return pci_module_init(&dvb_pci_driver);
return pci_register_driver(&dvb_pci_driver);
}
static void dvb_fini(void)
......
......@@ -2258,7 +2258,7 @@ static int cx8800_init(void)
printk(KERN_INFO "cx2388x: snapshot date %04d-%02d-%02d\n",
SNAPSHOT/10000, (SNAPSHOT/100)%100, SNAPSHOT%100);
#endif
return pci_module_init(&cx8800_pci_driver);
return pci_register_driver(&cx8800_pci_driver);
}
static void cx8800_fini(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment