aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx88/cx88-mpeg.c
diff options
context:
space:
mode:
authorPeter Huewe <peterhuewe@gmx.de>2009-07-16 19:00:01 -0400
committerJiri Kosina <jkosina@suse.cz>2009-09-21 09:14:56 -0400
commit31d0f84591b3bf49801a7e3f905a6089d857aa87 (patch)
treeceecb0f75ed49eacaca1237e18babe8f0c8431d3 /drivers/media/video/cx88/cx88-mpeg.c
parent3c78f5d81ae8131a24577b5551a6d1467b30e0af (diff)
trivial: media/video/cx88: add __init/__exit macros to cx88 drivers
Trivial patch which adds the __init and __exit macros to the module_init / module_exit functions to several files in drivers/media/video/cx88/ Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/media/video/cx88/cx88-mpeg.c')
-rw-r--r--drivers/media/video/cx88/cx88-mpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/cx88/cx88-mpeg.c b/drivers/media/video/cx88/cx88-mpeg.c
index 7172dcf2a4fa..de9ff0fc741f 100644
--- a/drivers/media/video/cx88/cx88-mpeg.c
+++ b/drivers/media/video/cx88/cx88-mpeg.c
@@ -870,7 +870,7 @@ static struct pci_driver cx8802_pci_driver = {
870 .remove = __devexit_p(cx8802_remove), 870 .remove = __devexit_p(cx8802_remove),
871}; 871};
872 872
873static int cx8802_init(void) 873static int __init cx8802_init(void)
874{ 874{
875 printk(KERN_INFO "cx88/2: cx2388x MPEG-TS Driver Manager version %d.%d.%d loaded\n", 875 printk(KERN_INFO "cx88/2: cx2388x MPEG-TS Driver Manager version %d.%d.%d loaded\n",
876 (CX88_VERSION_CODE >> 16) & 0xff, 876 (CX88_VERSION_CODE >> 16) & 0xff,
@@ -883,7 +883,7 @@ static int cx8802_init(void)
883 return pci_register_driver(&cx8802_pci_driver); 883 return pci_register_driver(&cx8802_pci_driver);
884} 884}
885 885
886static void cx8802_fini(void) 886static void __exit cx8802_fini(void)
887{ 887{
888 pci_unregister_driver(&cx8802_pci_driver); 888 pci_unregister_driver(&cx8802_pci_driver);
889} 889}