diff options
Diffstat (limited to 'drivers/media/video/cx23885/cx23885-video.c')
-rw-r--r-- | drivers/media/video/cx23885/cx23885-video.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/cx23885/cx23885-video.c b/drivers/media/video/cx23885/cx23885-video.c index 637c4d008846..2d81c4d04340 100644 --- a/drivers/media/video/cx23885/cx23885-video.c +++ b/drivers/media/video/cx23885/cx23885-video.c | |||
@@ -1326,11 +1326,11 @@ static int vidioc_s_frequency(struct file *file, void *priv, | |||
1326 | 1326 | ||
1327 | #ifdef CONFIG_VIDEO_ADV_DEBUG | 1327 | #ifdef CONFIG_VIDEO_ADV_DEBUG |
1328 | static int vidioc_g_register(struct file *file, void *fh, | 1328 | static int vidioc_g_register(struct file *file, void *fh, |
1329 | struct v4l2_register *reg) | 1329 | struct v4l2_dbg_register *reg) |
1330 | { | 1330 | { |
1331 | struct cx23885_dev *dev = ((struct cx23885_fh *)fh)->dev; | 1331 | struct cx23885_dev *dev = ((struct cx23885_fh *)fh)->dev; |
1332 | 1332 | ||
1333 | if (!v4l2_chip_match_host(reg->match_type, reg->match_chip)) | 1333 | if (!v4l2_chip_match_host(®->match)) |
1334 | return -EINVAL; | 1334 | return -EINVAL; |
1335 | 1335 | ||
1336 | cx23885_call_i2c_clients(&dev->i2c_bus[2], VIDIOC_DBG_G_REGISTER, reg); | 1336 | cx23885_call_i2c_clients(&dev->i2c_bus[2], VIDIOC_DBG_G_REGISTER, reg); |
@@ -1339,11 +1339,11 @@ static int vidioc_g_register(struct file *file, void *fh, | |||
1339 | } | 1339 | } |
1340 | 1340 | ||
1341 | static int vidioc_s_register(struct file *file, void *fh, | 1341 | static int vidioc_s_register(struct file *file, void *fh, |
1342 | struct v4l2_register *reg) | 1342 | struct v4l2_dbg_register *reg) |
1343 | { | 1343 | { |
1344 | struct cx23885_dev *dev = ((struct cx23885_fh *)fh)->dev; | 1344 | struct cx23885_dev *dev = ((struct cx23885_fh *)fh)->dev; |
1345 | 1345 | ||
1346 | if (!v4l2_chip_match_host(reg->match_type, reg->match_chip)) | 1346 | if (!v4l2_chip_match_host(®->match)) |
1347 | return -EINVAL; | 1347 | return -EINVAL; |
1348 | 1348 | ||
1349 | cx23885_call_i2c_clients(&dev->i2c_bus[2], VIDIOC_DBG_S_REGISTER, reg); | 1349 | cx23885_call_i2c_clients(&dev->i2c_bus[2], VIDIOC_DBG_S_REGISTER, reg); |