patch-2.4.9 linux/drivers/char/agp/agpgart_fe.c

Next file: linux/drivers/char/console.c
Previous file: linux/drivers/char/agp/agpgart_be.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.8/linux/drivers/char/agp/agpgart_fe.c linux/drivers/char/agp/agpgart_fe.c
@@ -749,11 +749,6 @@
 }
 
 
-static long long agp_lseek(struct file *file, long long offset, int origin)
-{
-	return -ESPIPE;
-}
-
 static ssize_t agp_read(struct file *file, char *buf,
 			size_t count, loff_t * ppos)
 {
@@ -1083,7 +1078,7 @@
 static struct file_operations agp_fops =
 {
 	owner:		THIS_MODULE,
-	llseek:		agp_lseek,
+	llseek:		no_llseek,
 	read:		agp_read,
 	write:		agp_write,
 	ioctl:		agp_ioctl,

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