diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2008-11-22 08:27:34 +0100 |
---|---|---|
committer | Jean-Francois Moine <moinejf@free.fr> | 2008-11-22 08:27:34 +0100 |
commit | 76a743d6289354b95a4d27c4a376d257203ebfd7 (patch) | |
tree | 04d83a7cbc858489ab14fbcac05bc13a0a18c33c /linux | |
parent | 07a364e7c3c25915bc7d1200f6f5ae3c68dc6f9c (diff) | |
download | mediapointer-dvb-s2-76a743d6289354b95a4d27c4a376d257203ebfd7.tar.gz mediapointer-dvb-s2-76a743d6289354b95a4d27c4a376d257203ebfd7.tar.bz2 |
gspca: Remove some unuseful core in main.
From: Jean-Francois Moine <moinejf@free.fr>
Priority: normal
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/video/gspca/gspca.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/linux/drivers/media/video/gspca/gspca.c b/linux/drivers/media/video/gspca/gspca.c index 8e6af151e..404461b8a 100644 --- a/linux/drivers/media/video/gspca/gspca.c +++ b/linux/drivers/media/video/gspca/gspca.c @@ -1867,10 +1867,10 @@ int gspca_dev_probe(struct usb_interface *intf, gspca_dev->empty_packet = -1; /* don't check the empty packets */ /* configure the subdriver and initialize the USB device */ - ret = gspca_dev->sd_desc->config(gspca_dev, id); + ret = sd_desc->config(gspca_dev, id); if (ret < 0) goto out; - ret = gspca_dev->sd_desc->init(gspca_dev); + ret = sd_desc->init(gspca_dev); if (ret < 0) goto out; ret = gspca_set_alt0(gspca_dev); @@ -1886,7 +1886,6 @@ int gspca_dev_probe(struct usb_interface *intf, /* init video stuff */ memcpy(&gspca_dev->vdev, &gspca_template, sizeof gspca_template); gspca_dev->vdev.parent = &dev->dev; - gspca_dev->vdev.fops = &dev_fops; gspca_dev->module = module; gspca_dev->present = 1; ret = video_register_device(&gspca_dev->vdev, |