From b6b5803ff9b3dbad981deb6092cbea890bc64cb7 Mon Sep 17 00:00:00 2001 From: Kai Germaschewski Date: Tue, 29 Oct 2002 08:56:02 -0600 Subject: ISDN: Pass around struct isdn_slot directly The common way in the kernel is to pass around the struct (e.g. struct net_device), and leave the user the possibility to add its private data using ::priv, so do it the same way when accessing an ISDN channel. --- include/linux/isdn.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/linux') diff --git a/include/linux/isdn.h b/include/linux/isdn.h index 4ab5ac856cc9..c5352e5d1194 100644 --- a/include/linux/isdn.h +++ b/include/linux/isdn.h @@ -327,7 +327,7 @@ typedef struct modem_info { /* 2 = B-Channel is up, deliver d.*/ int dialing; /* Dial in progress or ATA */ int rcvsched; /* Receive needs schedule */ - int isdn_slot; /* Index to isdn-driver/channel */ + struct isdn_slot *isdn_slot; /* Ptr to isdn-driver/channel */ struct sk_buff_head rpqueue; /* Queue of recv'd packets */ int rcvcount; /* Byte-counters for B rx */ int ncarrier; /* Flag: schedule NO CARRIER */ -- cgit v1.2.3