diff options
author | Peter Huewe <peterhuewe@gmx.de> | 2009-07-17 01:00:01 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-09-21 15:14:56 +0200 |
commit | 31d0f84591b3bf49801a7e3f905a6089d857aa87 (patch) | |
tree | ceecb0f75ed49eacaca1237e18babe8f0c8431d3 /drivers/media/video/cx88/cx88-dvb.c | |
parent | trivial: fix typo in CONFIG_DEBUG_FS in gcov doc (diff) | |
download | linux-31d0f84591b3bf49801a7e3f905a6089d857aa87.tar.xz linux-31d0f84591b3bf49801a7e3f905a6089d857aa87.zip |
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-dvb.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-dvb.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 = { .advise_release = cx8802_dvb_advise_release, }; -static int dvb_init(void) +static int __init dvb_init(void) { printk(KERN_INFO "cx88/2: cx2388x dvb driver version %d.%d.%d loaded\n", (CX88_VERSION_CODE >> 16) & 0xff, @@ -1363,7 +1363,7 @@ static int dvb_init(void) return cx8802_register_driver(&cx8802_dvb_driver); } -static void dvb_fini(void) +static void __exit dvb_fini(void) { cx8802_unregister_driver(&cx8802_dvb_driver); } |