diff options
Diffstat (limited to 'drivers/isdn/hisax/st5481_b.c')
-rw-r--r-- | drivers/isdn/hisax/st5481_b.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/isdn/hisax/st5481_b.c b/drivers/isdn/hisax/st5481_b.c index 75d0f248e4ee..fa64115cd7c7 100644 --- a/drivers/isdn/hisax/st5481_b.c +++ b/drivers/isdn/hisax/st5481_b.c | |||
@@ -14,6 +14,7 @@ | |||
14 | #include <linux/usb.h> | 14 | #include <linux/usb.h> |
15 | #include <linux/slab.h> | 15 | #include <linux/slab.h> |
16 | #include <linux/netdevice.h> | 16 | #include <linux/netdevice.h> |
17 | #include <linux/bitrev.h> | ||
17 | #include "st5481.h" | 18 | #include "st5481.h" |
18 | 19 | ||
19 | static inline void B_L1L2(struct st5481_bcs *bcs, int pr, void *arg) | 20 | static inline void B_L1L2(struct st5481_bcs *bcs, int pr, void *arg) |
@@ -72,7 +73,7 @@ static void usb_b_out(struct st5481_bcs *bcs,int buf_nr) | |||
72 | register unsigned char *dest = urb->transfer_buffer+len; | 73 | register unsigned char *dest = urb->transfer_buffer+len; |
73 | register unsigned int count; | 74 | register unsigned int count; |
74 | for (count = 0; count < bytes_sent; count++) | 75 | for (count = 0; count < bytes_sent; count++) |
75 | *dest++ = isdnhdlc_bit_rev_tab[*src++]; | 76 | *dest++ = bitrev8(*src++); |
76 | } | 77 | } |
77 | len += bytes_sent; | 78 | len += bytes_sent; |
78 | } else { | 79 | } else { |