[PATCH 1/1]: patch_remove_vernier_labpro_from_usb_misc_ldusb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Labpro device is in both ldusb and vstusb device tables.
Should only be a vstusb device.

signed-off-by: stephen ware <stephen.ware@xxxxxxxxxx>
------------------------------------------------------------------------------------------------------------------

diff -uprN -X linux-2.6.28.orig/Documentation/dontdiff linux-2.6.28.orig/drivers/usb/misc/ldusb.c linux-2.6.28.modified/drivers/usb/misc/ldusb.c
--- linux-2.6.28.orig/drivers/usb/misc/ldusb.c	2008-12-24 15:26:37.000000000 -0800
+++ linux-2.6.28.modified/drivers/usb/misc/ldusb.c	2009-01-07 12:23:38.000000000 -0800
@@ -57,7 +57,6 @@
 #define USB_DEVICE_ID_LD_MACHINETEST	0x2040	/* USB Product ID of Machine Test System */
 
 #define USB_VENDOR_ID_VERNIER		0x08f7
-#define USB_DEVICE_ID_VERNIER_LABPRO	0x0001
 #define USB_DEVICE_ID_VERNIER_GOTEMP	0x0002
 #define USB_DEVICE_ID_VERNIER_SKIP	0x0003
 #define USB_DEVICE_ID_VERNIER_CYCLOPS	0x0004
@@ -85,7 +84,6 @@ static struct usb_device_id ld_usb_table
 	{ USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_NETWORKANALYSER) },
 	{ USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_POWERCONTROL) },
 	{ USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_MACHINETEST) },
-	{ USB_DEVICE(USB_VENDOR_ID_VERNIER, USB_DEVICE_ID_VERNIER_LABPRO) },
 	{ USB_DEVICE(USB_VENDOR_ID_VERNIER, USB_DEVICE_ID_VERNIER_GOTEMP) },
 	{ USB_DEVICE(USB_VENDOR_ID_VERNIER, USB_DEVICE_ID_VERNIER_SKIP) },
 	{ USB_DEVICE(USB_VENDOR_ID_VERNIER, USB_DEVICE_ID_VERNIER_CYCLOPS) },

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux