--- ../wctdm.c 2008-10-22 00:29:05.000000000 +0200 +++ linux/drivers/dahdi/wctdm.c 2008-10-22 00:29:22.000000000 +0200 @@ -395,13 +395,13 @@ for (x=0;xcardflag & (1 << 3)) - wc->chans[3].readchunk[x] = (readchunk[x]) & 0xff; + wc->chans[3]->readchunk[x] = (readchunk[x]) & 0xff; if (wc->cardflag & (1 << 2)) - wc->chans[2].readchunk[x] = (readchunk[x] >> 8) & 0xff; + wc->chans[2]->readchunk[x] = (readchunk[x] >> 8) & 0xff; if (wc->cardflag & (1 << 1)) - wc->chans[1].readchunk[x] = (readchunk[x] >> 16) & 0xff; + wc->chans[1]->readchunk[x] = (readchunk[x] >> 16) & 0xff; if (wc->cardflag & (1 << 0)) - wc->chans[0].readchunk[x] = (readchunk[x] >> 24) & 0xff; + wc->chans[0]->readchunk[x] = (readchunk[x] >> 24) & 0xff; #else if (wc->cardflag & (1 << 3)) wc->chans[3]->readchunk[x] = (readchunk[x] >> 24) & 0xff;