diff options
author | Fengguang Wu <fengguang.wu@intel.com> | 2014-01-07 10:50:47 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-01-14 16:22:34 -0500 |
commit | 8068eb885a13e33244a8692c880eca478b467d9d (patch) | |
tree | 7c3124864e482f81edd12160a8dd6a26c28649c3 | |
parent | 452f236fcf845ba95c2f984f3157493e07383792 (diff) |
[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>
-rw-r--r-- | drivers/media/usb/em28xx/em28xx-video.c | 2 |
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) | |||
1147 | return (ret < 0) ? ret : 0; | 1147 | return (ret < 0) ? ret : 0; |
1148 | } | 1148 | } |
1149 | 1149 | ||
1150 | const struct v4l2_ctrl_ops em28xx_ctrl_ops = { | 1150 | static const struct v4l2_ctrl_ops em28xx_ctrl_ops = { |
1151 | .s_ctrl = em28xx_s_ctrl, | 1151 | .s_ctrl = em28xx_s_ctrl, |
1152 | }; | 1152 | }; |
1153 | 1153 | ||