aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video
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
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')
-rw-r--r--drivers/media/video/cx88/cx88-blackbird.c4
-rw-r--r--drivers/media/video/cx88/cx88-dvb.c4
-rw-r--r--drivers/media/video/cx88/cx88-mpeg.c4
-rw-r--r--drivers/media/video/cx88/cx88-video.c4
4 files changed, 8 insertions, 8 deletions
diff --git a/drivers/media/video/cx88/cx88-blackbird.c b/drivers/media/video/cx88/cx88-blackbird.c
index 356d6896da3f..fbdc1cde56a6 100644
--- a/drivers/media/video/cx88/cx88-blackbird.c
+++ b/drivers/media/video/cx88/cx88-blackbird.c
@@ -1371,7 +1371,7 @@ static struct cx8802_driver cx8802_blackbird_driver = {
1371 .advise_release = cx8802_blackbird_advise_release, 1371 .advise_release = cx8802_blackbird_advise_release,
1372}; 1372};
1373 1373
1374static int blackbird_init(void) 1374static int __init blackbird_init(void)
1375{ 1375{
1376 printk(KERN_INFO "cx2388x blackbird driver version %d.%d.%d loaded\n", 1376 printk(KERN_INFO "cx2388x blackbird driver version %d.%d.%d loaded\n",
1377 (CX88_VERSION_CODE >> 16) & 0xff, 1377 (CX88_VERSION_CODE >> 16) & 0xff,
@@ -1384,7 +1384,7 @@ static int blackbird_init(void)
1384 return cx8802_register_driver(&cx8802_blackbird_driver); 1384 return cx8802_register_driver(&cx8802_blackbird_driver);
1385} 1385}
1386 1386
1387static void blackbird_fini(void) 1387static void __exit blackbird_fini(void)
1388{ 1388{
1389 cx8802_unregister_driver(&cx8802_blackbird_driver); 1389 cx8802_unregister_driver(&cx8802_blackbird_driver);
1390} 1390}
diff --git a/drivers/media/video/cx88/cx88-dvb.c b/drivers/media/video/cx88/cx88-dvb.c
index 6e5d142b5b00..518bcfe18bcb 100644
--- a/drivers/media/video/cx88/cx88-dvb.c
+++ b/drivers/media/video/cx88/cx88-dvb.c
@@ -1350,7 +1350,7 @@ static struct cx8802_driver cx8802_dvb_driver = {
1350 .advise_release = cx8802_dvb_advise_release, 1350 .advise_release = cx8802_dvb_advise_release,
1351}; 1351};
1352 1352
1353static int dvb_init(void) 1353static int __init dvb_init(void)
1354{ 1354{
1355 printk(KERN_INFO "cx88/2: cx2388x dvb driver version %d.%d.%d loaded\n", 1355 printk(KERN_INFO "cx88/2: cx2388x dvb driver version %d.%d.%d loaded\n",
1356 (CX88_VERSION_CODE >> 16) & 0xff, 1356 (CX88_VERSION_CODE >> 16) & 0xff,
@@ -1363,7 +1363,7 @@ static int dvb_init(void)
1363 return cx8802_register_driver(&cx8802_dvb_driver); 1363 return cx8802_register_driver(&cx8802_dvb_driver);
1364} 1364}
1365 1365
1366static void dvb_fini(void) 1366static void __exit dvb_fini(void)
1367{ 1367{
1368 cx8802_unregister_driver(&cx8802_dvb_driver); 1368 cx8802_unregister_driver(&cx8802_dvb_driver);
1369} 1369}
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}
diff --git a/drivers/media/video/cx88/cx88-video.c b/drivers/media/video/cx88/cx88-video.c
index 2bb54c3ef5cd..bdd1d8acbbbd 100644
--- a/drivers/media/video/cx88/cx88-video.c
+++ b/drivers/media/video/cx88/cx88-video.c
@@ -2113,7 +2113,7 @@ static struct pci_driver cx8800_pci_driver = {
2113#endif 2113#endif
2114}; 2114};
2115 2115
2116static int cx8800_init(void) 2116static int __init cx8800_init(void)
2117{ 2117{
2118 printk(KERN_INFO "cx88/0: cx2388x v4l2 driver version %d.%d.%d loaded\n", 2118 printk(KERN_INFO "cx88/0: cx2388x v4l2 driver version %d.%d.%d loaded\n",
2119 (CX88_VERSION_CODE >> 16) & 0xff, 2119 (CX88_VERSION_CODE >> 16) & 0xff,
@@ -2126,7 +2126,7 @@ static int cx8800_init(void)
2126 return pci_register_driver(&cx8800_pci_driver); 2126 return pci_register_driver(&cx8800_pci_driver);
2127} 2127}
2128 2128
2129static void cx8800_fini(void) 2129static void __exit cx8800_fini(void)
2130{ 2130{
2131 pci_unregister_driver(&cx8800_pci_driver); 2131 pci_unregister_driver(&cx8800_pci_driver);
2132} 2132}