V4L/DVB (8800): [v4l-dvb-maintainer] [PATCH] v4l: mt9m111.c make function static
authorHarvey Harrison <harvey.harrison@gmail.com>
Wed, 27 Aug 2008 20:20:01 +0000 (17:20 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 12 Oct 2008 11:36:55 +0000 (09:36 -0200)
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>
drivers/media/video/mt9m111.c

index 4844486d72fb5523274e480985ec7304d5989a11..da0b2d553fd0f28caced38a6b954793f34fc39be 100644 (file)
@@ -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);