diff options
author | Peter Huewe <peterhuewe@gmx.de> | 2009-11-04 13:28:33 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-12-05 15:41:12 -0500 |
commit | 9710e7a77a0a0564a393250d86b8cb3d560bb69f (patch) | |
tree | 8b7f35fde98a82e53fda01d3313f832bf947529d /drivers/media/video/saa7134 | |
parent | 0b66cf90371dcd28c6eb98904adb694ae98eb20f (diff) |
V4L/DVB (13288): adding __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
Cc: Hermann Pitton <hermann-pitton@arcor.de>
Acked-by: Steven Toth <stoth@kernellabs.com>
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>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7134')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/saa7134/saa7134-core.c b/drivers/media/video/saa7134/saa7134-core.c index 9a5df930885b..0ba7f5af0fc3 100644 --- a/drivers/media/video/saa7134/saa7134-core.c +++ b/drivers/media/video/saa7134/saa7134-core.c | |||
@@ -1319,7 +1319,7 @@ static struct pci_driver saa7134_pci_driver = { | |||
1319 | #endif | 1319 | #endif |
1320 | }; | 1320 | }; |
1321 | 1321 | ||
1322 | static int saa7134_init(void) | 1322 | static int __init saa7134_init(void) |
1323 | { | 1323 | { |
1324 | INIT_LIST_HEAD(&saa7134_devlist); | 1324 | INIT_LIST_HEAD(&saa7134_devlist); |
1325 | printk(KERN_INFO "saa7130/34: v4l2 driver version %d.%d.%d loaded\n", | 1325 | printk(KERN_INFO "saa7130/34: v4l2 driver version %d.%d.%d loaded\n", |
@@ -1333,7 +1333,7 @@ static int saa7134_init(void) | |||
1333 | return pci_register_driver(&saa7134_pci_driver); | 1333 | return pci_register_driver(&saa7134_pci_driver); |
1334 | } | 1334 | } |
1335 | 1335 | ||
1336 | static void saa7134_fini(void) | 1336 | static void __exit saa7134_fini(void) |
1337 | { | 1337 | { |
1338 | pci_unregister_driver(&saa7134_pci_driver); | 1338 | pci_unregister_driver(&saa7134_pci_driver); |
1339 | } | 1339 | } |