aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/s2255drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/s2255drv.c')
-rw-r--r--drivers/media/video/s2255drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/s2255drv.c b/drivers/media/video/s2255drv.c
index af19bb346ef1..ea40f4c8b33e 100644
--- a/drivers/media/video/s2255drv.c
+++ b/drivers/media/video/s2255drv.c
@@ -1800,7 +1800,7 @@ static int s2255_probe_v4l(struct s2255_dev *dev)
1800 ret = video_register_device(dev->vdev[i], 1800 ret = video_register_device(dev->vdev[i],
1801 VFL_TYPE_GRABBER, 1801 VFL_TYPE_GRABBER,
1802 cur_nr + i); 1802 cur_nr + i);
1803 dev->vdev[i]->priv = dev; 1803 video_set_drvdata(dev->vdev[i], dev);
1804 1804
1805 if (ret != 0) { 1805 if (ret != 0) {
1806 dev_err(&dev->udev->dev, 1806 dev_err(&dev->udev->dev,