]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide: use ide_destroy_dmatable() instead of pci_unmap_sg() (take 2)
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 1 Feb 2008 22:09:31 +0000 (23:09 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 1 Feb 2008 22:09:31 +0000 (23:09 +0100)
commitf6fb786d6dcdd7d730e4fba620b071796f487e1b
treef1f8368fecee874caf487a95b1cfa2adcdfc0df6
parentfcc1175947510d7d7dc82d5c1b8315cb8fcb96ca
ide: use ide_destroy_dmatable() instead of pci_unmap_sg() (take 2)

Use ide_destroy_dmatable() in:
* ide-dma.c::ide_build_dmatable()
* sgiioc4.c::sgiioc4_build_dma_table()
* pmac.c::pmac_ide_{build,destroy}_dmatable()

There should be no functionality changes caused by this patch.

v2:
* pmac.c build fix from Andrew Morton.

Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-dma.c
drivers/ide/pci/sgiioc4.c
drivers/ide/ppc/pmac.c