aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/s5p-fimc/fimc-mdevice.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2012-05-26 10:11:54 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-06-18 10:09:37 -0400
commit7e566be25895e55aaea4dd0c453f2a3b6919cfb6 (patch)
tree1723072f68821db5e88712290d1ed549590f3210 /drivers/media/video/s5p-fimc/fimc-mdevice.c
parent50fbe32cf41a8309ed8016eb6f81232acfa23ae7 (diff)
[media] s5p-fimc: Add missing static storage class specifiers
Fixes the following sparse warnings: drivers/media/video/s5p-fimc/fimc-lite-reg.c:218:6: warning: symbol 'flite_hw_set_out_order' was not declared. Should it be static? drivers/media/video/s5p-fimc/fimc-mdevice.c:183:5: warning: symbol '__fimc_pipeline_shutdown' was not declared. Should it be static? drivers/media/video/s5p-fimc/fimc-mdevice.c:1013:12: warning: symbol 'fimc_md_init' was not declared. Should it be static? drivers/media/video/s5p-fimc/fimc-mdevice.c:1024:13: warning: symbol 'fimc_md_exit' was not declared. Should it be static? drivers/media/video/s5p-fimc/fimc-core.c:466:5: warning: symbol 'fimc_set_color_effect' was not declared. Should it be static? drivers/media/video/s5p-fimc/fimc-capture.c:1163:5: warning: symbol 'enclosed_rectangle' was not declared. Should it be static? Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
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();