aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/s5p-fimc/fimc-mdevice.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/s5p-fimc/fimc-mdevice.c')
-rw-r--r--drivers/media/video/s5p-fimc/fimc-mdevice.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/media/video/s5p-fimc/fimc-mdevice.c b/drivers/media/video/s5p-fimc/fimc-mdevice.c
index 6753c45631b..7c5c739dd2f 100644
--- a/drivers/media/video/s5p-fimc/fimc-mdevice.c
+++ b/drivers/media/video/s5p-fimc/fimc-mdevice.c
@@ -180,7 +180,7 @@ EXPORT_SYMBOL_GPL(fimc_pipeline_initialize);
180 * sensor clock. 180 * sensor clock.
181 * Called with the graph mutex held. 181 * Called with the graph mutex held.
182 */ 182 */
183int __fimc_pipeline_shutdown(struct fimc_pipeline *p) 183static int __fimc_pipeline_shutdown(struct fimc_pipeline *p)
184{ 184{
185 int ret = 0; 185 int ret = 0;
186 186
@@ -1010,7 +1010,7 @@ static struct platform_driver fimc_md_driver = {
1010 } 1010 }
1011}; 1011};
1012 1012
1013int __init fimc_md_init(void) 1013static int __init fimc_md_init(void)
1014{ 1014{
1015 int ret; 1015 int ret;
1016 1016
@@ -1021,7 +1021,8 @@ int __init fimc_md_init(void)
1021 1021
1022 return platform_driver_register(&fimc_md_driver); 1022 return platform_driver_register(&fimc_md_driver);
1023} 1023}
1024void __exit fimc_md_exit(void) 1024
1025static void __exit fimc_md_exit(void)
1025{ 1026{
1026 platform_driver_unregister(&fimc_md_driver); 1027 platform_driver_unregister(&fimc_md_driver);
1027 fimc_unregister_driver(); 1028 fimc_unregister_driver();