summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2014-01-07 12:50:47 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-01-14 19:22:34 -0200
commit8068eb885a13e33244a8692c880eca478b467d9d (patch)
tree7c3124864e482f81edd12160a8dd6a26c28649c3 /drivers/media
parent452f236fcf845ba95c2f984f3157493e07383792 (diff)
downloadblackbird-op-linux-8068eb885a13e33244a8692c880eca478b467d9d.tar.gz
blackbird-op-linux-8068eb885a13e33244a8692c880eca478b467d9d.zip
[media] em28xx: make 'em28xx_ctrl_ops' static
sparse warnings: (new ones prefixed by >>) >> drivers/media/usb/em28xx/em28xx-video.c:1151:28: sparse: symbol 'em28xx_ctrl_ops' was not declared. Should it be static? Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/usb/em28xx/em28xx-video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/em28xx/em28xx-video.c b/drivers/media/usb/em28xx/em28xx-video.c
index aabcafbdab46..36b69cbf36c7 100644
--- a/drivers/media/usb/em28xx/em28xx-video.c
+++ b/drivers/media/usb/em28xx/em28xx-video.c
@@ -1147,7 +1147,7 @@ static int em28xx_s_ctrl(struct v4l2_ctrl *ctrl)
return (ret < 0) ? ret : 0;
}
-const struct v4l2_ctrl_ops em28xx_ctrl_ops = {
+static const struct v4l2_ctrl_ops em28xx_ctrl_ops = {
.s_ctrl = em28xx_s_ctrl,
};
OpenPOWER on IntegriCloud