patch-2.0.21-2.1.0 linux/drivers/char/apm_bios.c
Next file: linux/drivers/char/atixlmouse.c
Previous file: linux/drivers/cdrom/sbpcd.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Mon Sep 30 10:31:28 1996
- Orig file:
lx2.0/v2.0.21/linux/drivers/char/apm_bios.c
- Orig date:
Wed May 15 09:06:55 1996
diff -u --recursive --new-file lx2.0/v2.0.21/linux/drivers/char/apm_bios.c linux/drivers/char/apm_bios.c
@@ -305,7 +305,7 @@
static int do_open(struct inode *, struct file *);
static void do_release(struct inode *, struct file *);
-static int do_read(struct inode *, struct file *, char *, int);
+static long do_read(struct inode *, struct file *, char *, unsigned long);
static int do_select(struct inode *, struct file *, int,
select_table *);
static int do_ioctl(struct inode *, struct file *, u_int, u_long);
@@ -817,7 +817,8 @@
return 0;
}
-static int do_read(struct inode *inode, struct file *fp, char *buf, int count)
+static long do_read(struct inode *inode, struct file *fp,
+ char *buf, unsigned long count)
{
struct apm_bios_struct * as;
int i;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov