Skip to content

Commit

Permalink
[media] em28xx: make 'em28xx_ctrl_ops' static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fengguang Wu authored and Mauro Carvalho Chehab committed Jan 14, 2014
1 parent 452f236 commit 8068eb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/usb/em28xx/em28xx-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down

0 comments on commit 8068eb8

Please sign in to comment.