patch-2.4.9 linux/drivers/isdn/avmb1/capi.c
Next file: linux/drivers/isdn/divert/divert_procfs.c
Previous file: linux/drivers/isdn/act2000/module.c
Back to the patch index
Back to the overall index
- Lines: 60
- Date:
Mon Aug 13 16:35:28 2001
- Orig file:
v2.4.8/linux/drivers/isdn/avmb1/capi.c
- Orig date:
Tue Jul 3 17:08:19 2001
diff -u --recursive --new-file v2.4.8/linux/drivers/isdn/avmb1/capi.c linux/drivers/isdn/avmb1/capi.c
@@ -1,5 +1,5 @@
/*
- * $Id: capi.c,v 1.44.6.12 2001/06/09 15:14:15 kai Exp $
+ * $Id: capi.c,v 1.44.6.13 2001/08/13 07:46:15 kai Exp $
*
* CAPI 2.0 Interface for Linux
*
@@ -43,7 +43,7 @@
#include "capifs.h"
#endif
-static char *revision = "$Revision: 1.44.6.12 $";
+static char *revision = "$Revision: 1.44.6.13 $";
MODULE_AUTHOR("Carsten Paeth (calle@calle.in-berlin.de)");
@@ -697,12 +697,6 @@
/* -------- file_operations for capidev ----------------------------- */
-static loff_t
-capi_llseek(struct file *file, loff_t offset, int origin)
-{
- return -ESPIPE;
-}
-
static ssize_t
capi_read(struct file *file, char *buf, size_t count, loff_t *ppos)
{
@@ -1073,7 +1067,7 @@
static struct file_operations capi_fops =
{
owner: THIS_MODULE,
- llseek: capi_llseek,
+ llseek: no_llseek,
read: capi_read,
write: capi_write,
poll: capi_poll,
@@ -1110,12 +1104,6 @@
return 0;
}
-static loff_t
-capinc_raw_llseek(struct file *file, loff_t offset, int origin)
-{
- return -ESPIPE;
-}
-
static ssize_t
capinc_raw_read(struct file *file, char *buf, size_t count, loff_t *ppos)
{
@@ -1269,7 +1257,7 @@
static struct file_operations capinc_raw_fops =
{
owner: THIS_MODULE,
- llseek: capinc_raw_llseek,
+ llseek: no_llseek,
read: capinc_raw_read,
write: capinc_raw_write,
poll: capinc_raw_poll,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)