瀏覽代碼

V4L/DVB (8800): [v4l-dvb-maintainer] [PATCH] v4l: mt9m111.c make function static

drivers/media/video/mt9m111.c:758:5: warning: symbol 'mt9m111_restore_state' was not declared. Should it be static?

New warning in next-20080825

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Harvey Harrison 17 年之前
父節點
當前提交
ba77531f51
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/media/video/mt9m111.c

+ 1 - 1
drivers/media/video/mt9m111.c

@@ -755,7 +755,7 @@ static int mt9m111_set_control(struct soc_camera_device *icd,
 	return ret;
 }
 
-int mt9m111_restore_state(struct soc_camera_device *icd)
+static int mt9m111_restore_state(struct soc_camera_device *icd)
 {
 	struct mt9m111 *mt9m111 = container_of(icd, struct mt9m111, icd);