diff options
Diffstat (limited to 'kernel/drivers/dma/hsu/pci.c')
-rw-r--r-- | kernel/drivers/dma/hsu/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/dma/hsu/pci.c b/kernel/drivers/dma/hsu/pci.c index 77879e6dd..e2db76bd5 100644 --- a/kernel/drivers/dma/hsu/pci.c +++ b/kernel/drivers/dma/hsu/pci.c @@ -31,7 +31,7 @@ static irqreturn_t hsu_pci_irq(int irq, void *dev) irqreturn_t ret = IRQ_NONE; dmaisr = readl(chip->regs + HSU_PCI_DMAISR); - for (i = 0; i < chip->pdata->nr_channels; i++) { + for (i = 0; i < chip->hsu->nr_channels; i++) { if (dmaisr & 0x1) ret |= hsu_dma_irq(chip, i); dmaisr >>= 1; |