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/pac7311.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/pac7311.c')
-rw-r--r-- | linux/drivers/media/video/gspca/pac7311.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/linux/drivers/media/video/gspca/pac7311.c b/linux/drivers/media/video/gspca/pac7311.c index ce8403dcf..9beea8205 100644 --- a/linux/drivers/media/video/gspca/pac7311.c +++ b/linux/drivers/media/video/gspca/pac7311.c @@ -722,16 +722,14 @@ static struct sd_desc sd_desc = { }; /* -- module initialisation -- */ -#define DVNM(name) .driver_info = (kernel_ulong_t) name static __devinitdata struct usb_device_id device_table[] = { - {USB_DEVICE(0x093a, 0x2600), DVNM("Typhoon")}, - {USB_DEVICE(0x093a, 0x2601), DVNM("Philips SPC610NC")}, - {USB_DEVICE(0x093a, 0x2603), DVNM("PAC7312")}, - {USB_DEVICE(0x093a, 0x2608), DVNM("Trust WB-3300p")}, - {USB_DEVICE(0x093a, 0x260e), DVNM("Gigaware VGA PC Camera")}, - /* and also ', Trust WB-3350p, SIGMA cam 2350' */ - {USB_DEVICE(0x093a, 0x260f), DVNM("SnakeCam")}, - {USB_DEVICE(0x093a, 0x2621), DVNM("PAC731x")}, + {USB_DEVICE(0x093a, 0x2600)}, + {USB_DEVICE(0x093a, 0x2601)}, + {USB_DEVICE(0x093a, 0x2603)}, + {USB_DEVICE(0x093a, 0x2608)}, + {USB_DEVICE(0x093a, 0x260e)}, + {USB_DEVICE(0x093a, 0x260f)}, + {USB_DEVICE(0x093a, 0x2621)}, {} }; MODULE_DEVICE_TABLE(usb, device_table); |