diff options
Diffstat (limited to 'drivers/media/pci/saa7164/saa7164-encoder.c')
| -rw-r--r-- | drivers/media/pci/saa7164/saa7164-encoder.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/drivers/media/pci/saa7164/saa7164-encoder.c b/drivers/media/pci/saa7164/saa7164-encoder.c index 9266965412c3..4434e0f28c26 100644 --- a/drivers/media/pci/saa7164/saa7164-encoder.c +++ b/drivers/media/pci/saa7164/saa7164-encoder.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Driver for the NXP SAA7164 PCIe bridge | 2 | * Driver for the NXP SAA7164 PCIe bridge |
| 3 | * | 3 | * |
| 4 | * Copyright (c) 2010 Steven Toth <stoth@kernellabs.com> | 4 | * Copyright (c) 2010-2015 Steven Toth <stoth@kernellabs.com> |
| 5 | * | 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify | 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by | 7 | * it under the terms of the GNU General Public License as published by |
| @@ -721,13 +721,14 @@ static int vidioc_querycap(struct file *file, void *priv, | |||
| 721 | sizeof(cap->card)); | 721 | sizeof(cap->card)); |
| 722 | sprintf(cap->bus_info, "PCI:%s", pci_name(dev->pci)); | 722 | sprintf(cap->bus_info, "PCI:%s", pci_name(dev->pci)); |
| 723 | 723 | ||
| 724 | cap->capabilities = | 724 | cap->device_caps = |
| 725 | V4L2_CAP_VIDEO_CAPTURE | | 725 | V4L2_CAP_VIDEO_CAPTURE | |
| 726 | V4L2_CAP_READWRITE | | 726 | V4L2_CAP_READWRITE | |
| 727 | 0; | 727 | V4L2_CAP_TUNER; |
| 728 | 728 | ||
| 729 | cap->capabilities |= V4L2_CAP_TUNER; | 729 | cap->capabilities = cap->device_caps | |
| 730 | cap->version = 0; | 730 | V4L2_CAP_VBI_CAPTURE | |
| 731 | V4L2_CAP_DEVICE_CAPS; | ||
| 731 | 732 | ||
| 732 | return 0; | 733 | return 0; |
| 733 | } | 734 | } |
