diff options
-rw-r--r-- | drivers/media/video/usbvideo/usbvideo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/usbvideo/usbvideo.c b/drivers/media/video/usbvideo/usbvideo.c index f1ccf59545d4..7f3cdc9a0624 100644 --- a/drivers/media/video/usbvideo/usbvideo.c +++ b/drivers/media/video/usbvideo/usbvideo.c | |||
@@ -1035,10 +1035,10 @@ int usbvideo_RegisterVideoDevice(struct uvd *uvd) | |||
1035 | __FUNCTION__, uvd->iface, uvd->video_endp, uvd->paletteBits); | 1035 | __FUNCTION__, uvd->iface, uvd->video_endp, uvd->paletteBits); |
1036 | } | 1036 | } |
1037 | if (uvd->dev == NULL) { | 1037 | if (uvd->dev == NULL) { |
1038 | err("%s: uvd->dev == NULL", __FUNCTION__); | 1038 | err("%s: uvd->dev == NULL", __func__); |
1039 | return -EINVAL; | 1039 | return -EINVAL; |
1040 | } | 1040 | } |
1041 | uvd->vdev.dev=&(uvd->dev->dev); | 1041 | uvd->vdev.dev = &uvd->dev->dev; |
1042 | if (video_register_device(&uvd->vdev, VFL_TYPE_GRABBER, video_nr) == -1) { | 1042 | if (video_register_device(&uvd->vdev, VFL_TYPE_GRABBER, video_nr) == -1) { |
1043 | err("%s: video_register_device failed", __FUNCTION__); | 1043 | err("%s: video_register_device failed", __FUNCTION__); |
1044 | return -EPIPE; | 1044 | return -EPIPE; |