patch-2.3.49 linux/drivers/usb/scanner.c
Next file: linux/drivers/usb/usb-debug.c
Previous file: linux/drivers/usb/rio500_usb.h
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Tue Feb 29 11:08:16 2000
- Orig file:
v2.3.48/linux/drivers/usb/scanner.c
- Orig date:
Sat Feb 26 22:31:50 2000
diff -u --recursive --new-file v2.3.48/linux/drivers/usb/scanner.c linux/drivers/usb/scanner.c
@@ -793,18 +793,11 @@
static struct
file_operations usb_scanner_fops = {
- NULL, /* seek */
- read_scanner,
- write_scanner,
- NULL, /* readdir */
- NULL, /* poll */
- ioctl_scanner,
- NULL, /* mmap */
- open_scanner,
- NULL, /* flush */
- close_scanner,
- NULL,
- NULL, /* fasync */
+ read: read_scanner,
+ write: write_scanner,
+ ioctl: ioctl_scanner,
+ open: open_scanner,
+ release: close_scanner,
};
static struct
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)