diff options
Diffstat (limited to 'drivers/dma/pch_dma.c')
-rw-r--r-- | drivers/dma/pch_dma.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/dma/pch_dma.c b/drivers/dma/pch_dma.c index 1ac8d4b580b7..5b65362024fd 100644 --- a/drivers/dma/pch_dma.c +++ b/drivers/dma/pch_dma.c | |||
@@ -926,7 +926,6 @@ static int __devinit pch_dma_probe(struct pci_dev *pdev, | |||
926 | } | 926 | } |
927 | 927 | ||
928 | pd->dma.dev = &pdev->dev; | 928 | pd->dma.dev = &pdev->dev; |
929 | pd->dma.chancnt = nr_channels; | ||
930 | 929 | ||
931 | INIT_LIST_HEAD(&pd->dma.channels); | 930 | INIT_LIST_HEAD(&pd->dma.channels); |
932 | 931 | ||
@@ -935,7 +934,6 @@ static int __devinit pch_dma_probe(struct pci_dev *pdev, | |||
935 | 934 | ||
936 | pd_chan->chan.device = &pd->dma; | 935 | pd_chan->chan.device = &pd->dma; |
937 | pd_chan->chan.cookie = 1; | 936 | pd_chan->chan.cookie = 1; |
938 | pd_chan->chan.chan_id = i; | ||
939 | 937 | ||
940 | pd_chan->membase = ®s->desc[i]; | 938 | pd_chan->membase = ®s->desc[i]; |
941 | 939 | ||