aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/isdn')
-rw-r--r--drivers/isdn/hisax/hfc_2bds0.c3
-rw-r--r--drivers/isdn/hisax/nj_s.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/drivers/isdn/hisax/hfc_2bds0.c b/drivers/isdn/hisax/hfc_2bds0.c
index 8d9864453a23..5c46a7130e06 100644
--- a/drivers/isdn/hisax/hfc_2bds0.c
+++ b/drivers/isdn/hisax/hfc_2bds0.c
@@ -1019,7 +1019,8 @@ hfc_dbusy_timer(struct IsdnCardState *cs)
1019static unsigned int 1019static unsigned int
1020*init_send_hfcd(int cnt) 1020*init_send_hfcd(int cnt)
1021{ 1021{
1022 int i, *send; 1022 int i;
1023 unsigned *send;
1023 1024
1024 if (!(send = kmalloc(cnt * sizeof(unsigned int), GFP_ATOMIC))) { 1025 if (!(send = kmalloc(cnt * sizeof(unsigned int), GFP_ATOMIC))) {
1025 printk(KERN_WARNING 1026 printk(KERN_WARNING
diff --git a/drivers/isdn/hisax/nj_s.c b/drivers/isdn/hisax/nj_s.c
index fa2db87667c8..a895dfed40e5 100644
--- a/drivers/isdn/hisax/nj_s.c
+++ b/drivers/isdn/hisax/nj_s.c
@@ -151,7 +151,7 @@ NETjet_S_card_msg(struct IsdnCardState *cs, int mt, void *arg)
151static int __devinit njs_pci_probe(struct pci_dev *dev_netjet, 151static int __devinit njs_pci_probe(struct pci_dev *dev_netjet,
152 struct IsdnCardState *cs) 152 struct IsdnCardState *cs)
153{ 153{
154 int cfg; 154 u32 cfg;
155 155
156 if (pci_enable_device(dev_netjet)) 156 if (pci_enable_device(dev_netjet))
157 return(0); 157 return(0);