diff options
Diffstat (limited to 'drivers/isdn')
-rw-r--r-- | drivers/isdn/capi/capifs.c | 1 | ||||
-rw-r--r-- | drivers/isdn/hisax/hfc4s8s_l1.c | 10 |
2 files changed, 6 insertions, 5 deletions
diff --git a/drivers/isdn/capi/capifs.c b/drivers/isdn/capi/capifs.c index 3abd7fc6e5ef..7b564c0dd996 100644 --- a/drivers/isdn/capi/capifs.c +++ b/drivers/isdn/capi/capifs.c | |||
@@ -15,6 +15,7 @@ | |||
15 | #include <linux/module.h> | 15 | #include <linux/module.h> |
16 | #include <linux/init.h> | 16 | #include <linux/init.h> |
17 | #include <linux/ctype.h> | 17 | #include <linux/ctype.h> |
18 | #include <linux/sched.h> /* current */ | ||
18 | 19 | ||
19 | MODULE_DESCRIPTION("CAPI4Linux: /dev/capi/ filesystem"); | 20 | MODULE_DESCRIPTION("CAPI4Linux: /dev/capi/ filesystem"); |
20 | MODULE_AUTHOR("Carsten Paeth"); | 21 | MODULE_AUTHOR("Carsten Paeth"); |
diff --git a/drivers/isdn/hisax/hfc4s8s_l1.c b/drivers/isdn/hisax/hfc4s8s_l1.c index 7333377ab31d..e3866b0a97fd 100644 --- a/drivers/isdn/hisax/hfc4s8s_l1.c +++ b/drivers/isdn/hisax/hfc4s8s_l1.c | |||
@@ -1063,7 +1063,7 @@ tx_b_frame(struct hfc4s8s_btype *bch) | |||
1063 | Write_hfc8(l1->hw, A_INC_RES_FIFO, 1); | 1063 | Write_hfc8(l1->hw, A_INC_RES_FIFO, 1); |
1064 | } | 1064 | } |
1065 | ack_len += skb->truesize; | 1065 | ack_len += skb->truesize; |
1066 | bch->tx_skb = 0; | 1066 | bch->tx_skb = NULL; |
1067 | bch->tx_cnt = 0; | 1067 | bch->tx_cnt = 0; |
1068 | dev_kfree_skb(skb); | 1068 | dev_kfree_skb(skb); |
1069 | } else | 1069 | } else |
@@ -1659,10 +1659,10 @@ hfc4s8s_remove(struct pci_dev *pdev) | |||
1659 | } | 1659 | } |
1660 | 1660 | ||
1661 | static struct pci_driver hfc4s8s_driver = { | 1661 | static struct pci_driver hfc4s8s_driver = { |
1662 | name:"hfc4s8s_l1", | 1662 | .name = "hfc4s8s_l1", |
1663 | probe:hfc4s8s_probe, | 1663 | .probe = hfc4s8s_probe, |
1664 | remove:__devexit_p(hfc4s8s_remove), | 1664 | .remove = __devexit_p(hfc4s8s_remove), |
1665 | id_table:hfc4s8s_ids, | 1665 | .id_table = hfc4s8s_ids, |
1666 | }; | 1666 | }; |
1667 | 1667 | ||
1668 | /**********************/ | 1668 | /**********************/ |