diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-05-26 10:11:54 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-06-18 10:09:37 -0400 |
commit | 7e566be25895e55aaea4dd0c453f2a3b6919cfb6 (patch) | |
tree | 1723072f68821db5e88712290d1ed549590f3210 /drivers/media/video/s5p-fimc/fimc-capture.c | |
parent | 50fbe32cf41a8309ed8016eb6f81232acfa23ae7 (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-capture.c')
-rw-r--r-- | drivers/media/video/s5p-fimc/fimc-capture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/s5p-fimc/fimc-capture.c b/drivers/media/video/s5p-fimc/fimc-capture.c index 354574591908..62ce5399c4cf 100644 --- a/drivers/media/video/s5p-fimc/fimc-capture.c +++ b/drivers/media/video/s5p-fimc/fimc-capture.c | |||
@@ -1161,7 +1161,7 @@ static int fimc_cap_g_selection(struct file *file, void *fh, | |||
1161 | } | 1161 | } |
1162 | 1162 | ||
1163 | /* Return 1 if rectangle a is enclosed in rectangle b, or 0 otherwise. */ | 1163 | /* Return 1 if rectangle a is enclosed in rectangle b, or 0 otherwise. */ |
1164 | int enclosed_rectangle(struct v4l2_rect *a, struct v4l2_rect *b) | 1164 | static int enclosed_rectangle(struct v4l2_rect *a, struct v4l2_rect *b) |
1165 | { | 1165 | { |
1166 | if (a->left < b->left || a->top < b->top) | 1166 | if (a->left < b->left || a->top < b->top) |
1167 | return 0; | 1167 | return 0; |