patch-2.4.11-dontuse linux/drivers/usb/usbvideo.h

Next file: linux/drivers/usb/uss720.c
Previous file: linux/drivers/usb/usbvideo.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.10/linux/drivers/usb/usbvideo.h linux/drivers/usb/usbvideo.h
@@ -255,13 +255,7 @@
  * that default to usbvideo-provided methods.
  */
 typedef struct {
-#if defined(usb_device_id_ver)
-	/* New style probe (for 2.4.x kernels with hotplugging) */
 	void *(*probe)(struct usb_device *, unsigned int,const struct usb_device_id *);
-#else
-	/* Old style probe (for 2.2.x kernels) */
-	void *(*probe)(struct usb_device *, unsigned int);
-#endif
 	void (*userFree)(uvd_t *);
 	void (*disconnect)(struct usb_device *, void *);
 	int (*setupOnOpen)(uvd_t *);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)