diff options
Diffstat (limited to 'drivers/media/video/omap24xxcam.c')
-rw-r--r-- | drivers/media/video/omap24xxcam.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/video/omap24xxcam.c b/drivers/media/video/omap24xxcam.c index 34eb9659433..71e08be7960 100644 --- a/drivers/media/video/omap24xxcam.c +++ b/drivers/media/video/omap24xxcam.c | |||
@@ -1660,7 +1660,6 @@ static int omap24xxcam_device_register(struct v4l2_int_device *s) | |||
1660 | 1660 | ||
1661 | strlcpy(vfd->name, CAM_NAME, sizeof(vfd->name)); | 1661 | strlcpy(vfd->name, CAM_NAME, sizeof(vfd->name)); |
1662 | vfd->fops = &omap24xxcam_fops; | 1662 | vfd->fops = &omap24xxcam_fops; |
1663 | vfd->minor = -1; | ||
1664 | vfd->ioctl_ops = &omap24xxcam_ioctl_fops; | 1663 | vfd->ioctl_ops = &omap24xxcam_ioctl_fops; |
1665 | 1664 | ||
1666 | omap24xxcam_hwinit(cam); | 1665 | omap24xxcam_hwinit(cam); |
@@ -1671,7 +1670,6 @@ static int omap24xxcam_device_register(struct v4l2_int_device *s) | |||
1671 | 1670 | ||
1672 | if (video_register_device(vfd, VFL_TYPE_GRABBER, video_nr) < 0) { | 1671 | if (video_register_device(vfd, VFL_TYPE_GRABBER, video_nr) < 0) { |
1673 | dev_err(cam->dev, "could not register V4L device\n"); | 1672 | dev_err(cam->dev, "could not register V4L device\n"); |
1674 | vfd->minor = -1; | ||
1675 | rval = -EBUSY; | 1673 | rval = -EBUSY; |
1676 | goto err; | 1674 | goto err; |
1677 | } | 1675 | } |