|
@@ -1479,7 +1479,7 @@ int setup_hfcsx(struct IsdnCard *card)
|
|
|
release_region(cs->hw.hfcsx.base, 2);
|
|
|
return (0);
|
|
|
}
|
|
|
- if (!(cs->hw.hfcsx.extra = (void *)
|
|
|
+ if (!(cs->hw.hfcsx.extra =
|
|
|
kmalloc(sizeof(struct hfcsx_extra), GFP_ATOMIC))) {
|
|
|
release_region(cs->hw.hfcsx.base, 2);
|
|
|
printk(KERN_WARNING "HFC-SX: unable to allocate memory\n");
|