diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2008-07-25 13:53:03 +0200 |
---|---|---|
committer | Jean-Francois Moine <moinejf@free.fr> | 2008-07-25 13:53:03 +0200 |
commit | 838a44104a792f93926bbf9f69e90b6f84c1ddb3 (patch) | |
tree | 618deb472e501f0279306bece13b6e5705efe7de /linux/drivers/media/video/gspca/t613.c | |
parent | b85c5b4a6559eafcf3ad4253b97ae6cb1428ab97 (diff) | |
download | mediapointer-dvb-s2-838a44104a792f93926bbf9f69e90b6f84c1ddb3.tar.gz mediapointer-dvb-s2-838a44104a792f93926bbf9f69e90b6f84c1ddb3.tar.bz2 |
gspca: Set the specific per webcam information in driver_info.
From: Jean-Francois Moine <moinejf@free.fr>
This patch removes a big part of the code run at probe time.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Diffstat (limited to 'linux/drivers/media/video/gspca/t613.c')
-rw-r--r-- | linux/drivers/media/video/gspca/t613.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/linux/drivers/media/video/gspca/t613.c b/linux/drivers/media/video/gspca/t613.c index 9a0f55e13..56b1dfa72 100644 --- a/linux/drivers/media/video/gspca/t613.c +++ b/linux/drivers/media/video/gspca/t613.c @@ -420,19 +420,6 @@ static int sd_config(struct gspca_dev *gspca_dev, { struct sd *sd = (struct sd *) gspca_dev; struct cam *cam; -#if 0 - __u16 vendor; - __u16 product; - - vendor = id->idVendor; - product = id->idProduct; - switch (vendor) { - case 0x17a1: - /* t613 + tas5130A */ - /* Currently one sensor supported... */ - break; - } -#endif cam = &gspca_dev->cam; cam->epaddr = 0x01; @@ -1031,9 +1018,8 @@ static const struct sd_desc sd_desc = { }; /* -- module initialisation -- */ -#define DVNM(name) .driver_info = (kernel_ulong_t) name static const __devinitdata struct usb_device_id device_table[] = { - {USB_DEVICE(0x17a1, 0x0128), DVNM("XPX Webcam")}, + {USB_DEVICE(0x17a1, 0x0128)}, {} }; MODULE_DEVICE_TABLE(usb, device_table); |