patch-2.3.48 linux/drivers/usb/devio.c

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

diff -u --recursive --new-file v2.3.47/linux/drivers/usb/devio.c linux/drivers/usb/devio.c
@@ -1002,15 +1002,11 @@
 	return mask;
 }
 
-static struct file_operations usbdevfs_device_file_operations = {
+struct file_operations usbdevfs_device_file_operations = {
 	llseek:		usbdev_lseek,
 	read:		usbdev_read,
 	poll:		usbdev_poll,
 	ioctl:		usbdev_ioctl,
 	open:		usbdev_open,
 	release:	usbdev_release,
-};
-
-struct inode_operations usbdevfs_device_inode_operations = {
-        &usbdevfs_device_file_operations,  /* file-ops */
 };

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