diff options
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-08-21 16:51:38 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-08-26 17:51:58 -0400 |
commit | f17513c9bf5650738d80cd82f716901b3562bf27 (patch) | |
tree | 27467b155bac21ae895f60eff7d0b589ee71d99a /drivers/media/platform/davinci | |
parent | 24ab6338f3fc0f3fe9c541f5e7b29ae026dea0c2 (diff) |
[media] dm644x_ccdc: declare some functions as static
drivers/media/platform/davinci/dm644x_ccdc.c:133:6: warning: no previous protot
ype for 'ccdc_setwin' [-Wmissing-prototypes]
void ccdc_setwin(struct v4l2_rect *image_win,
^
drivers/media/platform/davinci/dm644x_ccdc.c:373:6: warning: no previous protot
ype for 'ccdc_config_ycbcr' [-Wmissing-prototypes]
void ccdc_config_ycbcr(void)
^
drivers/media/platform/davinci/dm644x_ccdc.c:526:6: warning: no previous protot
ype for 'ccdc_config_raw' [-Wmissing-prototypes]
void ccdc_config_raw(void)
^
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/platform/davinci')
-rw-r--r-- | drivers/media/platform/davinci/dm644x_ccdc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/media/platform/davinci/dm644x_ccdc.c b/drivers/media/platform/davinci/dm644x_ccdc.c index 07e98df3d867..b0b9cd54e9e9 100644 --- a/drivers/media/platform/davinci/dm644x_ccdc.c +++ b/drivers/media/platform/davinci/dm644x_ccdc.c | |||
@@ -130,9 +130,9 @@ static void ccdc_enable_vport(int flag) | |||
130 | * This function will configure the window size | 130 | * This function will configure the window size |
131 | * to be capture in CCDC reg | 131 | * to be capture in CCDC reg |
132 | */ | 132 | */ |
133 | void ccdc_setwin(struct v4l2_rect *image_win, | 133 | static void ccdc_setwin(struct v4l2_rect *image_win, |
134 | enum ccdc_frmfmt frm_fmt, | 134 | enum ccdc_frmfmt frm_fmt, |
135 | int ppc) | 135 | int ppc) |
136 | { | 136 | { |
137 | int horz_start, horz_nr_pixels; | 137 | int horz_start, horz_nr_pixels; |
138 | int vert_start, vert_nr_lines; | 138 | int vert_start, vert_nr_lines; |
@@ -370,7 +370,7 @@ static int ccdc_set_params(void __user *params) | |||
370 | * ccdc_config_ycbcr() | 370 | * ccdc_config_ycbcr() |
371 | * This function will configure CCDC for YCbCr video capture | 371 | * This function will configure CCDC for YCbCr video capture |
372 | */ | 372 | */ |
373 | void ccdc_config_ycbcr(void) | 373 | static void ccdc_config_ycbcr(void) |
374 | { | 374 | { |
375 | struct ccdc_params_ycbcr *params = &ccdc_cfg.ycbcr; | 375 | struct ccdc_params_ycbcr *params = &ccdc_cfg.ycbcr; |
376 | u32 syn_mode; | 376 | u32 syn_mode; |
@@ -523,7 +523,7 @@ static void ccdc_config_fpc(struct ccdc_fault_pixel *fpc) | |||
523 | * ccdc_config_raw() | 523 | * ccdc_config_raw() |
524 | * This function will configure CCDC for Raw capture mode | 524 | * This function will configure CCDC for Raw capture mode |
525 | */ | 525 | */ |
526 | void ccdc_config_raw(void) | 526 | static void ccdc_config_raw(void) |
527 | { | 527 | { |
528 | struct ccdc_params_raw *params = &ccdc_cfg.bayer; | 528 | struct ccdc_params_raw *params = &ccdc_cfg.bayer; |
529 | struct ccdc_config_params_raw *config_params = | 529 | struct ccdc_config_params_raw *config_params = |