diff options
Diffstat (limited to 'drivers/media/video/hdpvr/hdpvr-video.c')
-rw-r--r-- | drivers/media/video/hdpvr/hdpvr-video.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/video/hdpvr/hdpvr-video.c b/drivers/media/video/hdpvr/hdpvr-video.c index fdd782039e9d..196f82de48f0 100644 --- a/drivers/media/video/hdpvr/hdpvr-video.c +++ b/drivers/media/video/hdpvr/hdpvr-video.c | |||
@@ -302,7 +302,8 @@ static int hdpvr_start_streaming(struct hdpvr_device *dev) | |||
302 | /* function expects dev->io_mutex to be hold by caller */ | 302 | /* function expects dev->io_mutex to be hold by caller */ |
303 | static int hdpvr_stop_streaming(struct hdpvr_device *dev) | 303 | static int hdpvr_stop_streaming(struct hdpvr_device *dev) |
304 | { | 304 | { |
305 | uint actual_length, c = 0; | 305 | int actual_length; |
306 | uint c = 0; | ||
306 | u8 *buf; | 307 | u8 *buf; |
307 | 308 | ||
308 | if (dev->status == STATUS_IDLE) | 309 | if (dev->status == STATUS_IDLE) |
@@ -572,7 +573,7 @@ static int vidioc_querycap(struct file *file, void *priv, | |||
572 | struct hdpvr_device *dev = video_drvdata(file); | 573 | struct hdpvr_device *dev = video_drvdata(file); |
573 | 574 | ||
574 | strcpy(cap->driver, "hdpvr"); | 575 | strcpy(cap->driver, "hdpvr"); |
575 | strcpy(cap->card, "Haupauge HD PVR"); | 576 | strcpy(cap->card, "Hauppauge HD PVR"); |
576 | usb_make_path(dev->udev, cap->bus_info, sizeof(cap->bus_info)); | 577 | usb_make_path(dev->udev, cap->bus_info, sizeof(cap->bus_info)); |
577 | cap->version = HDPVR_VERSION; | 578 | cap->version = HDPVR_VERSION; |
578 | cap->capabilities = V4L2_CAP_VIDEO_CAPTURE | | 579 | cap->capabilities = V4L2_CAP_VIDEO_CAPTURE | |