]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] s5k6aa: Add missing static storage class specifier
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 26 Jul 2012 05:23:33 +0000 (02:23 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 31 Jul 2012 02:49:28 +0000 (23:49 -0300)
Fixes the following sparse warning:
drivers/media/video/s5k6aa.c:1439:5: warning:
symbol 's5k6aa_check_fw_revision' was not declared. Should it be static?

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/s5k6aa.c

index 6625e46a4638d5a0e916d3ff91fdbeb6dd8355fc..decb648083460dc0ed21691e2bf76e3735c9b98d 100644 (file)
@@ -1436,7 +1436,7 @@ static int s5k6aa_open(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh)
        return 0;
 }
 
-int s5k6aa_check_fw_revision(struct s5k6aa *s5k6aa)
+static int s5k6aa_check_fw_revision(struct s5k6aa *s5k6aa)
 {
        struct i2c_client *client = v4l2_get_subdevdata(&s5k6aa->sd);
        u16 api_ver = 0, fw_rev = 0;