diff options
| author | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-10-29 08:56:02 -0600 |
|---|---|---|
| committer | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-10-29 08:56:02 -0600 |
| commit | b6b5803ff9b3dbad981deb6092cbea890bc64cb7 (patch) | |
| tree | fac16f86bb02eb349b18798c4a83fe19e9c3bae9 /include/linux | |
| parent | 59c28988d8fe7e035015865f3e8103bd0d566ccd (diff) | |
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.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/isdn.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |
