diff options
Diffstat (limited to 'drivers/media/video/pwc/pwc-if.c')
-rw-r--r-- | drivers/media/video/pwc/pwc-if.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/video/pwc/pwc-if.c b/drivers/media/video/pwc/pwc-if.c index b4de82115e5b..4625b265bf98 100644 --- a/drivers/media/video/pwc/pwc-if.c +++ b/drivers/media/video/pwc/pwc-if.c | |||
@@ -165,7 +165,6 @@ static const struct file_operations pwc_fops = { | |||
165 | .llseek = no_llseek, | 165 | .llseek = no_llseek, |
166 | }; | 166 | }; |
167 | static struct video_device pwc_template = { | 167 | static struct video_device pwc_template = { |
168 | .owner = THIS_MODULE, | ||
169 | .name = "Philips Webcam", /* Filled in later */ | 168 | .name = "Philips Webcam", /* Filled in later */ |
170 | .type = VID_TYPE_CAPTURE, | 169 | .type = VID_TYPE_CAPTURE, |
171 | .release = video_device_release, | 170 | .release = video_device_release, |
@@ -1769,7 +1768,6 @@ static int usb_pwc_probe(struct usb_interface *intf, const struct usb_device_id | |||
1769 | memcpy(pdev->vdev, &pwc_template, sizeof(pwc_template)); | 1768 | memcpy(pdev->vdev, &pwc_template, sizeof(pwc_template)); |
1770 | pdev->vdev->parent = &(udev->dev); | 1769 | pdev->vdev->parent = &(udev->dev); |
1771 | strcpy(pdev->vdev->name, name); | 1770 | strcpy(pdev->vdev->name, name); |
1772 | pdev->vdev->owner = THIS_MODULE; | ||
1773 | video_set_drvdata(pdev->vdev, pdev); | 1771 | video_set_drvdata(pdev->vdev, pdev); |
1774 | 1772 | ||
1775 | pdev->release = le16_to_cpu(udev->descriptor.bcdDevice); | 1773 | pdev->release = le16_to_cpu(udev->descriptor.bcdDevice); |