diff options
author | Peter Huewe <peterhuewe@gmx.de> | 2009-09-28 20:19:00 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-11-09 03:40:58 -0500 |
commit | 9d440a087b9f1b43acbcad2a45d8605059b82e59 (patch) | |
tree | 313f991ca76019bd1590277d93bb5a7016b53b52 /drivers/media/video/cx23885 | |
parent | 891ddb95d06e9dc260500f02438a5cff1ba6650a (diff) |
media/video: add __init/__exit macros to various drivers
Trivial patch which adds the __init/__exit macros to the module_init/
module_exit functions of the following drivers in media video:
drivers/media/video/ivtv/ivtv-driver.c
drivers/media/video/cx18/cx18-driver.c
drivers/media/video/davinci/dm355_ccdc.c
drivers/media/video/davinci/dm644x_ccdc.c
drivers/media/video/saa7164/saa7164-core.c
drivers/media/video/saa7134/saa7134-core.c
drivers/media/video/cx23885/cx23885-core.c
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Acked-by: Andy Walls <awalls@radix.net>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Muralidharan Karicheri <m-karicheri2@ti.com>
Acked-By: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/media/video/cx23885')
-rw-r--r-- | drivers/media/video/cx23885/cx23885-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/cx23885/cx23885-core.c b/drivers/media/video/cx23885/cx23885-core.c index c31284ba19dd..fa2d350e20fd 100644 --- a/drivers/media/video/cx23885/cx23885-core.c +++ b/drivers/media/video/cx23885/cx23885-core.c | |||
@@ -1957,7 +1957,7 @@ static struct pci_driver cx23885_pci_driver = { | |||
1957 | .resume = NULL, | 1957 | .resume = NULL, |
1958 | }; | 1958 | }; |
1959 | 1959 | ||
1960 | static int cx23885_init(void) | 1960 | static int __init cx23885_init(void) |
1961 | { | 1961 | { |
1962 | printk(KERN_INFO "cx23885 driver version %d.%d.%d loaded\n", | 1962 | printk(KERN_INFO "cx23885 driver version %d.%d.%d loaded\n", |
1963 | (CX23885_VERSION_CODE >> 16) & 0xff, | 1963 | (CX23885_VERSION_CODE >> 16) & 0xff, |
@@ -1970,7 +1970,7 @@ static int cx23885_init(void) | |||
1970 | return pci_register_driver(&cx23885_pci_driver); | 1970 | return pci_register_driver(&cx23885_pci_driver); |
1971 | } | 1971 | } |
1972 | 1972 | ||
1973 | static void cx23885_fini(void) | 1973 | static void __exit cx23885_fini(void) |
1974 | { | 1974 | { |
1975 | pci_unregister_driver(&cx23885_pci_driver); | 1975 | pci_unregister_driver(&cx23885_pci_driver); |
1976 | } | 1976 | } |