summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/gspca/t613.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-07-25 13:53:43 +0200
committerJean-Francois Moine <moinejf@free.fr>2008-07-25 13:53:43 +0200
commit64693737b66f1ead83aad03febb471e6988ec1f6 (patch)
tree86ebbcb4f9bf739af5820cb77c85fa69c0c451e3 /linux/drivers/media/video/gspca/t613.c
parente768886b19cdc2ba666bd52faa7797ff4151ced7 (diff)
parent838a44104a792f93926bbf9f69e90b6f84c1ddb3 (diff)
downloadmediapointer-dvb-s2-64693737b66f1ead83aad03febb471e6988ec1f6.tar.gz
mediapointer-dvb-s2-64693737b66f1ead83aad03febb471e6988ec1f6.tar.bz2
merge: v4l-dvb
Diffstat (limited to 'linux/drivers/media/video/gspca/t613.c')
-rw-r--r--linux/drivers/media/video/gspca/t613.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/linux/drivers/media/video/gspca/t613.c b/linux/drivers/media/video/gspca/t613.c
index 5188ec486..56b1dfa72 100644
--- a/linux/drivers/media/video/gspca/t613.c
+++ b/linux/drivers/media/video/gspca/t613.c
@@ -420,22 +420,8 @@ 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->dev_name = (char *) id->driver_info;
cam->epaddr = 0x01;
cam->cam_mode = vga_mode_t16;
@@ -1032,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);