ide: use ide_build_sglist() and ide_destroy_dmatable() in non-PCI host drivers
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 1 Feb 2008 22:09:32 +0000 (23:09 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 1 Feb 2008 22:09:32 +0000 (23:09 +0100)
commit062f9f024dcdb927cfd35c9ee8a68f59cbb1136f
treeef592f702eea3e4333b1e0e2e3db7ce945408261
parent5c05ff68b9a9b40a9be949497e0aa980185565cf
ide: use ide_build_sglist() and ide_destroy_dmatable() in non-PCI host drivers

* Make ide_build_sglist() and ide_destroy_dmatable() available also when
  CONFIG_BLK_DEV_IDEDMA_PCI=n.

* Use ide_build_sglist() and ide_destroy_dmatable() in {ics,au1xxx-}ide.c
  and remove no longer needed {ics,au}ide_build_sglist().

There should be no functionality changes caused by this patch.

Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/arm/icside.c
drivers/ide/ide-dma.c
drivers/ide/mips/au1xxx-ide.c
include/linux/ide.h