diff options
author | Jan Kiszka <jan.kiszka@web.de> | 2010-02-08 05:12:37 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-16 19:01:32 -0500 |
commit | 42651b5c1aabf5eb60fbe98375ba127f4f6eb943 (patch) | |
tree | b360a470f32991326ddd8eaa677f27c01a2b155b | |
parent | a11ef7be8e982426e9fbbfc84fa0c01d23ce05c3 (diff) |
CAPI: Rename datahandle_queue -> ackqueue_entry
This struct is describing a queue entry, not the queue itself.
Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/isdn/capi/capi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/isdn/capi/capi.c b/drivers/isdn/capi/capi.c index c5c54fab50eb..9d4750a0aece 100644 --- a/drivers/isdn/capi/capi.c +++ b/drivers/isdn/capi/capi.c | |||
@@ -76,7 +76,7 @@ struct capidev; | |||
76 | struct capincci; | 76 | struct capincci; |
77 | struct capiminor; | 77 | struct capiminor; |
78 | 78 | ||
79 | struct datahandle_queue { | 79 | struct ackqueue_entry { |
80 | struct list_head list; | 80 | struct list_head list; |
81 | u16 datahandle; | 81 | u16 datahandle; |
82 | }; | 82 | }; |
@@ -156,7 +156,7 @@ static struct tty_driver *capinc_tty_driver; | |||
156 | 156 | ||
157 | static int capiminor_add_ack(struct capiminor *mp, u16 datahandle) | 157 | static int capiminor_add_ack(struct capiminor *mp, u16 datahandle) |
158 | { | 158 | { |
159 | struct datahandle_queue *n; | 159 | struct ackqueue_entry *n; |
160 | unsigned long flags; | 160 | unsigned long flags; |
161 | 161 | ||
162 | n = kmalloc(sizeof(*n), GFP_ATOMIC); | 162 | n = kmalloc(sizeof(*n), GFP_ATOMIC); |
@@ -175,7 +175,7 @@ static int capiminor_add_ack(struct capiminor *mp, u16 datahandle) | |||
175 | 175 | ||
176 | static int capiminor_del_ack(struct capiminor *mp, u16 datahandle) | 176 | static int capiminor_del_ack(struct capiminor *mp, u16 datahandle) |
177 | { | 177 | { |
178 | struct datahandle_queue *p, *tmp; | 178 | struct ackqueue_entry *p, *tmp; |
179 | unsigned long flags; | 179 | unsigned long flags; |
180 | 180 | ||
181 | spin_lock_irqsave(&mp->ackqlock, flags); | 181 | spin_lock_irqsave(&mp->ackqlock, flags); |
@@ -194,7 +194,7 @@ static int capiminor_del_ack(struct capiminor *mp, u16 datahandle) | |||
194 | 194 | ||
195 | static void capiminor_del_all_ack(struct capiminor *mp) | 195 | static void capiminor_del_all_ack(struct capiminor *mp) |
196 | { | 196 | { |
197 | struct datahandle_queue *p, *tmp; | 197 | struct ackqueue_entry *p, *tmp; |
198 | unsigned long flags; | 198 | unsigned long flags; |
199 | 199 | ||
200 | spin_lock_irqsave(&mp->ackqlock, flags); | 200 | spin_lock_irqsave(&mp->ackqlock, flags); |