summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/pwc/pwc-if.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-07-21 12:51:45 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2008-07-21 12:51:45 +0200
commitb0a3353c78a940cd8bea78e789a5e7b2c69788c7 (patch)
tree93480f731f00ea220d12ba204140776442491ee1 /linux/drivers/media/video/pwc/pwc-if.c
parentaf41aa918f47e0bc59c5554cabbd05db0917bed4 (diff)
downloadmediapointer-dvb-s2-b0a3353c78a940cd8bea78e789a5e7b2c69788c7.tar.gz
mediapointer-dvb-s2-b0a3353c78a940cd8bea78e789a5e7b2c69788c7.tar.bz2
Remove obsolete owner field from video_device struct.
From: Hans Verkuil <hverkuil@xs4all.nl> According to an old comment this should have been removed in 2.6.15. Better late than never... Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/pwc/pwc-if.c')
-rw-r--r--linux/drivers/media/video/pwc/pwc-if.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/linux/drivers/media/video/pwc/pwc-if.c b/linux/drivers/media/video/pwc/pwc-if.c
index e51ee878b..e8e8fd280 100644
--- a/linux/drivers/media/video/pwc/pwc-if.c
+++ b/linux/drivers/media/video/pwc/pwc-if.c
@@ -165,7 +165,6 @@ static const struct file_operations pwc_fops = {
.llseek = no_llseek,
};
static struct video_device pwc_template = {
- .owner = THIS_MODULE,
.name = "Philips Webcam", /* Filled in later */
.type = VID_TYPE_CAPTURE,
.release = video_device_release,
@@ -1773,7 +1772,6 @@ static int usb_pwc_probe(struct usb_interface *intf, const struct usb_device_id
memcpy(pdev->vdev, &pwc_template, sizeof(pwc_template));
pdev->vdev->parent = &(udev->dev);
strcpy(pdev->vdev->name, name);
- pdev->vdev->owner = THIS_MODULE;
video_set_drvdata(pdev->vdev, pdev);
pdev->release = le16_to_cpu(udev->descriptor.bcdDevice);