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/stk014.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/stk014.c')
-rw-r--r-- | linux/drivers/media/video/gspca/stk014.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/drivers/media/video/gspca/stk014.c b/linux/drivers/media/video/gspca/stk014.c index f6390b49f..16219cf6a 100644 --- a/linux/drivers/media/video/gspca/stk014.c +++ b/linux/drivers/media/video/gspca/stk014.c @@ -545,9 +545,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(0x05e1, 0x0893), DVNM("Syntek DV4000")}, + {USB_DEVICE(0x05e1, 0x0893)}, {} }; MODULE_DEVICE_TABLE(usb, device_table); |