Browse Source

[media] dm355_ccdc: declare a function as static

drivers/media/platform/davinci/dm355_ccdc.c:463:5: warning: no previous prototy
pe for 'ccdc_write_dfc_entry' [-Wmissing-prototypes]
 int ccdc_write_dfc_entry(int index, struct ccdc_vertical_dft *dfc)
     ^

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Mauro Carvalho Chehab 11 years ago
parent
commit
0448056c7e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/media/platform/davinci/dm355_ccdc.c

+ 1 - 1
drivers/media/platform/davinci/dm355_ccdc.c

@@ -460,7 +460,7 @@ static void ccdc_config_black_compense(struct ccdc_black_compensation *bcomp)
  * ccdc_write_dfc_entry()
  * ccdc_write_dfc_entry()
  * write an entry in the dfc table.
  * write an entry in the dfc table.
  */
  */
-int ccdc_write_dfc_entry(int index, struct ccdc_vertical_dft *dfc)
+static int ccdc_write_dfc_entry(int index, struct ccdc_vertical_dft *dfc)
 {
 {
 /* TODO This is to be re-visited and adjusted */
 /* TODO This is to be re-visited and adjusted */
 #define DFC_WRITE_WAIT_COUNT	1000
 #define DFC_WRITE_WAIT_COUNT	1000