patch-2.3.43 linux/drivers/usb/drivers.c

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

diff -u --recursive --new-file v2.3.42/linux/drivers/usb/drivers.c linux/drivers/usb/drivers.c
@@ -112,15 +112,6 @@
 }
 
 struct file_operations usbdevfs_drivers_fops = {
-	usb_driver_lseek, /* lseek   */
-	usb_driver_read,  /* read    */
-	NULL,             /* write   */
-	NULL,             /* readdir */
-	NULL,             /* poll    */
-	NULL,             /* ioctl   */
-	NULL,             /* mmap    */
-	NULL,             /* open    */
-	NULL,             /* flush   */
-	NULL,             /* release */
-	NULL              /* fsync   */
+	llseek:		usb_driver_lseek,
+	read:		usb_driver_read,
 };

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