diff options
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | 2008-02-01 23:09:30 +0100 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-02-01 23:09:30 +0100 |
commit | ecf32796395ed0e27667e7f735946d6dc60e1765 (patch) | |
tree | 0cafd743bd39148b85470c8fb6398b30dbce7ffd /drivers/ide/pci/hpt366.c | |
parent | trm290: cannot call ide_setup_dma() (diff) | |
download | linux-ecf32796395ed0e27667e7f735946d6dc60e1765.tar.xz linux-ecf32796395ed0e27667e7f735946d6dc60e1765.zip |
ide: ide_setup_dma() assumes 8 ports
According to http://marc.info/?l=linux-ide&m=114346138611631, the drivers must
always register 8 DMA ports with ide_setup_dma(), so its last argument is not
needed. While at it, kill some useless parens in that function...
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/pci/hpt366.c')
-rw-r--r-- | drivers/ide/pci/hpt366.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/pci/hpt366.c b/drivers/ide/pci/hpt366.c index 12685939a813..d33a3f9c12b7 100644 --- a/drivers/ide/pci/hpt366.c +++ b/drivers/ide/pci/hpt366.c @@ -1413,7 +1413,7 @@ static void __devinit init_dma_hpt366(ide_hwif_t *hwif, unsigned long dmabase) local_irq_restore(flags); - ide_setup_dma(hwif, dmabase, 8); + ide_setup_dma(hwif, dmabase); } static void __devinit hpt374_init(struct pci_dev *dev, struct pci_dev *dev2) |