aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2012-07-26 01:23:33 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-07-30 22:49:28 -0400
commitb42353011e9001e88f5a57097dcf7d9424a0e9c4 (patch)
tree5d5827a4361d973dd93880a6acedfb479f93b4c9
parent4d98015eef6fa97b0cbba7310041ab75b223524b (diff)
[media] s5k6aa: Add missing static storage class specifier
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>
-rw-r--r--drivers/media/video/s5k6aa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/s5k6aa.c b/drivers/media/video/s5k6aa.c
index 6625e46a4638..decb64808346 100644
--- a/drivers/media/video/s5k6aa.c
+++ b/drivers/media/video/s5k6aa.c
@@ -1436,7 +1436,7 @@ static int s5k6aa_open(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh)
1436 return 0; 1436 return 0;
1437} 1437}
1438 1438
1439int s5k6aa_check_fw_revision(struct s5k6aa *s5k6aa) 1439static int s5k6aa_check_fw_revision(struct s5k6aa *s5k6aa)
1440{ 1440{
1441 struct i2c_client *client = v4l2_get_subdevdata(&s5k6aa->sd); 1441 struct i2c_client *client = v4l2_get_subdevdata(&s5k6aa->sd);
1442 u16 api_ver = 0, fw_rev = 0; 1442 u16 api_ver = 0, fw_rev = 0;