diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-26 16:25:21 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-26 16:25:21 -0400 |
commit | 23658f8af3dbba53ae9796e4c37c2fdd0272662e (patch) | |
tree | 32b7efcd41555308709b80866611a35866debc92 /drivers/ide/pci/hpt366.c | |
parent | 6d36b95fe2cc5655e96da42eaf19f1aa341c6856 (diff) |
ide: move ide_setup_dma() call out from ->init_dma method
There should be no functional changes caused by this patch.
Acked-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, 0 insertions, 2 deletions
diff --git a/drivers/ide/pci/hpt366.c b/drivers/ide/pci/hpt366.c index 0f313f54fc27..df45098157f6 100644 --- a/drivers/ide/pci/hpt366.c +++ b/drivers/ide/pci/hpt366.c | |||
@@ -1348,8 +1348,6 @@ static void __devinit init_dma_hpt366(ide_hwif_t *hwif, unsigned long dmabase) | |||
1348 | outb(dma_new, dmabase + 2); | 1348 | outb(dma_new, dmabase + 2); |
1349 | 1349 | ||
1350 | local_irq_restore(flags); | 1350 | local_irq_restore(flags); |
1351 | |||
1352 | ide_setup_dma(hwif, dmabase); | ||
1353 | } | 1351 | } |
1354 | 1352 | ||
1355 | static void __devinit hpt374_init(struct pci_dev *dev, struct pci_dev *dev2) | 1353 | static void __devinit hpt374_init(struct pci_dev *dev, struct pci_dev *dev2) |