aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/capi/capi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/isdn/capi/capi.c')
-rw-r--r--drivers/isdn/capi/capi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/isdn/capi/capi.c b/drivers/isdn/capi/capi.c
index b0a4a691cbaa..f80a7c48a35f 100644
--- a/drivers/isdn/capi/capi.c
+++ b/drivers/isdn/capi/capi.c
@@ -691,7 +691,7 @@ unlock_out:
691static ssize_t 691static ssize_t
692capi_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) 692capi_read(struct file *file, char __user *buf, size_t count, loff_t *ppos)
693{ 693{
694 struct capidev *cdev = (struct capidev *)file->private_data; 694 struct capidev *cdev = file->private_data;
695 struct sk_buff *skb; 695 struct sk_buff *skb;
696 size_t copied; 696 size_t copied;
697 int err; 697 int err;
@@ -726,7 +726,7 @@ capi_read(struct file *file, char __user *buf, size_t count, loff_t *ppos)
726static ssize_t 726static ssize_t
727capi_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) 727capi_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos)
728{ 728{
729 struct capidev *cdev = (struct capidev *)file->private_data; 729 struct capidev *cdev = file->private_data;
730 struct sk_buff *skb; 730 struct sk_buff *skb;
731 u16 mlen; 731 u16 mlen;
732 732
@@ -773,7 +773,7 @@ capi_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos
773static unsigned int 773static unsigned int
774capi_poll(struct file *file, poll_table * wait) 774capi_poll(struct file *file, poll_table * wait)
775{ 775{
776 struct capidev *cdev = (struct capidev *)file->private_data; 776 struct capidev *cdev = file->private_data;
777 unsigned int mask = 0; 777 unsigned int mask = 0;
778 778
779 if (!cdev->ap.applid) 779 if (!cdev->ap.applid)