patch-2.4.9 linux/drivers/macintosh/adb.c

Next file: linux/drivers/macintosh/rtc.c
Previous file: linux/drivers/isdn/isdnloop/isdnloop.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.8/linux/drivers/macintosh/adb.c linux/drivers/macintosh/adb.c
@@ -543,11 +543,6 @@
 	return 0;
 }
 
-static long long adb_lseek(struct file *file, loff_t offset, int origin)
-{
-	return -ESPIPE;
-}
-
 static ssize_t adb_read(struct file *file, char *buf,
 			size_t count, loff_t *ppos)
 {
@@ -665,7 +660,7 @@
 }
 
 static struct file_operations adb_fops = {
-	llseek:		adb_lseek,
+	llseek:		no_llseek,
 	read:		adb_read,
 	write:		adb_write,
 	open:		adb_open,

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