patch-2.3.99-pre6 linux/drivers/usb/devio.c
Next file: linux/drivers/usb/drivers.c
Previous file: linux/drivers/usb/devices.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Wed Apr 26 15:22:55 2000
- Orig file:
v2.3.99-pre5/linux/drivers/usb/devio.c
- Orig date:
Tue Apr 11 15:09:20 2000
diff -u --recursive --new-file v2.3.99-pre5/linux/drivers/usb/devio.c linux/drivers/usb/devio.c
@@ -162,7 +162,7 @@
return ret;
}
-static long long usbdev_lseek(struct file *file, long long offset, int orig)
+static loff_t usbdev_lseek(struct file *file, loff_t offset, int orig)
{
switch (orig) {
case 0:
@@ -989,6 +989,7 @@
return ret;
}
+/* No kernel lock - fine */
static unsigned int usbdev_poll(struct file *file, struct poll_table_struct *wait)
{
struct dev_state *ps = (struct dev_state *)file->private_data;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)