

drivers/isdn/capi/capi.c: In function `handle_recv_skb':
drivers/isdn/capi/capi.c:450: warning: passing arg 1 of `tty_ldisc_deref' from incompatible pointer type
drivers/isdn/capi/capi.c:450: void value not ignored as it ought to be
drivers/isdn/capi/capi.c:439: warning: `ld' might be used uninitialized in this function


Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 25-akpm/drivers/isdn/capi/capi.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/isdn/capi/capi.c~tty-locking-for-269rc2-fixes drivers/isdn/capi/capi.c
--- 25/drivers/isdn/capi/capi.c~tty-locking-for-269rc2-fixes	2004-09-14 20:35:43.834639312 -0700
+++ 25-akpm/drivers/isdn/capi/capi.c	2004-09-14 20:35:47.877024776 -0700
@@ -447,7 +447,7 @@ static int handle_recv_skb(struct capimi
 		return -1;
 	}
 
-	ld = tty_ldisc_deref(mp->tty);
+	ld = tty_ldisc_ref(mp->tty);
 	if (ld == NULL)
 		return -1;
 	if (ld->receive_buf == NULL) {
_
