]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[media] dm355_ccdc: declare a function as static
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 21 Aug 2014 20:53:23 +0000 (15:53 -0500)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 26 Aug 2014 21:51:59 +0000 (18:51 -0300)
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>
drivers/media/platform/davinci/dm355_ccdc.c

index 05f8fb7f7b70a335c89eade3925fca309a79ab5d..3f44deb5b7a76182ad7d637340f989e618ee5a30 100644 (file)
@@ -460,7 +460,7 @@ static void ccdc_config_black_compense(struct ccdc_black_compensation *bcomp)
  * ccdc_write_dfc_entry()
  * 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 */
 #define DFC_WRITE_WAIT_COUNT   1000