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/davinci | |
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/davinci')
-rw-r--r-- | drivers/media/video/davinci/dm355_ccdc.c | 4 | ||||
-rw-r--r-- | drivers/media/video/davinci/dm644x_ccdc.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/davinci/dm355_ccdc.c b/drivers/media/video/davinci/dm355_ccdc.c index 4629cabe3f28..56fbefe036ae 100644 --- a/drivers/media/video/davinci/dm355_ccdc.c +++ b/drivers/media/video/davinci/dm355_ccdc.c | |||
@@ -959,7 +959,7 @@ static struct ccdc_hw_device ccdc_hw_dev = { | |||
959 | }, | 959 | }, |
960 | }; | 960 | }; |
961 | 961 | ||
962 | static int dm355_ccdc_init(void) | 962 | static int __init dm355_ccdc_init(void) |
963 | { | 963 | { |
964 | printk(KERN_NOTICE "dm355_ccdc_init\n"); | 964 | printk(KERN_NOTICE "dm355_ccdc_init\n"); |
965 | if (vpfe_register_ccdc_device(&ccdc_hw_dev) < 0) | 965 | if (vpfe_register_ccdc_device(&ccdc_hw_dev) < 0) |
@@ -969,7 +969,7 @@ static int dm355_ccdc_init(void) | |||
969 | return 0; | 969 | return 0; |
970 | } | 970 | } |
971 | 971 | ||
972 | static void dm355_ccdc_exit(void) | 972 | static void __exit dm355_ccdc_exit(void) |
973 | { | 973 | { |
974 | vpfe_unregister_ccdc_device(&ccdc_hw_dev); | 974 | vpfe_unregister_ccdc_device(&ccdc_hw_dev); |
975 | } | 975 | } |
diff --git a/drivers/media/video/davinci/dm644x_ccdc.c b/drivers/media/video/davinci/dm644x_ccdc.c index 2f19a919f477..d5fa193f32d2 100644 --- a/drivers/media/video/davinci/dm644x_ccdc.c +++ b/drivers/media/video/davinci/dm644x_ccdc.c | |||
@@ -859,7 +859,7 @@ static struct ccdc_hw_device ccdc_hw_dev = { | |||
859 | }, | 859 | }, |
860 | }; | 860 | }; |
861 | 861 | ||
862 | static int dm644x_ccdc_init(void) | 862 | static int __init dm644x_ccdc_init(void) |
863 | { | 863 | { |
864 | printk(KERN_NOTICE "dm644x_ccdc_init\n"); | 864 | printk(KERN_NOTICE "dm644x_ccdc_init\n"); |
865 | if (vpfe_register_ccdc_device(&ccdc_hw_dev) < 0) | 865 | if (vpfe_register_ccdc_device(&ccdc_hw_dev) < 0) |
@@ -869,7 +869,7 @@ static int dm644x_ccdc_init(void) | |||
869 | return 0; | 869 | return 0; |
870 | } | 870 | } |
871 | 871 | ||
872 | static void dm644x_ccdc_exit(void) | 872 | static void __exit dm644x_ccdc_exit(void) |
873 | { | 873 | { |
874 | vpfe_unregister_ccdc_device(&ccdc_hw_dev); | 874 | vpfe_unregister_ccdc_device(&ccdc_hw_dev); |
875 | } | 875 | } |