diff options
Diffstat (limited to 'drivers/media/video/davinci/dm644x_ccdc.c')
-rw-r--r-- | drivers/media/video/davinci/dm644x_ccdc.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/media/video/davinci/dm644x_ccdc.c b/drivers/media/video/davinci/dm644x_ccdc.c index 8051c2956478..9303fe553b07 100644 --- a/drivers/media/video/davinci/dm644x_ccdc.c +++ b/drivers/media/video/davinci/dm644x_ccdc.c | |||
@@ -1078,15 +1078,4 @@ static struct platform_driver dm644x_ccdc_driver = { | |||
1078 | .probe = dm644x_ccdc_probe, | 1078 | .probe = dm644x_ccdc_probe, |
1079 | }; | 1079 | }; |
1080 | 1080 | ||
1081 | static int __init dm644x_ccdc_init(void) | 1081 | module_platform_driver(dm644x_ccdc_driver); |
1082 | { | ||
1083 | return platform_driver_register(&dm644x_ccdc_driver); | ||
1084 | } | ||
1085 | |||
1086 | static void __exit dm644x_ccdc_exit(void) | ||
1087 | { | ||
1088 | platform_driver_unregister(&dm644x_ccdc_driver); | ||
1089 | } | ||
1090 | |||
1091 | module_init(dm644x_ccdc_init); | ||
1092 | module_exit(dm644x_ccdc_exit); | ||