diff options
author | Peter Huewe <peterhuewe@gmx.de> | 2009-07-16 19:00:01 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-09-21 09:14:56 -0400 |
commit | 31d0f84591b3bf49801a7e3f905a6089d857aa87 (patch) | |
tree | ceecb0f75ed49eacaca1237e18babe8f0c8431d3 /drivers/media/video/cx88/cx88-video.c | |
parent | 3c78f5d81ae8131a24577b5551a6d1467b30e0af (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-video.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-video.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 | ||
2116 | static int cx8800_init(void) | 2116 | static 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 | ||
2129 | static void cx8800_fini(void) | 2129 | static void __exit cx8800_fini(void) |
2130 | { | 2130 | { |
2131 | pci_unregister_driver(&cx8800_pci_driver); | 2131 | pci_unregister_driver(&cx8800_pci_driver); |
2132 | } | 2132 | } |