patch-2.4.9 linux/drivers/char/wdt_pci.c

Next file: linux/drivers/i2c/i2c-dev.c
Previous file: linux/drivers/char/wdt.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.8/linux/drivers/char/wdt_pci.c linux/drivers/char/wdt_pci.c
@@ -220,11 +220,6 @@
 }
 
 
-static long long wdtpci_llseek(struct file *file, long long offset, int origin)
-{
-	return -ESPIPE;
-}
-
 /**
  *	wdtpci_ping:
  *
@@ -459,7 +454,7 @@
  
 static struct file_operations wdtpci_fops = {
 	owner:		THIS_MODULE,
-	llseek:		wdtpci_llseek,
+	llseek:		no_llseek,
 	read:		wdtpci_read,
 	write:		wdtpci_write,
 	ioctl:		wdtpci_ioctl,

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