]> nv-tegra.nvidia Code Review - linux-2.6.git/commit
ide: remove ide_dma_iobase()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 26 Apr 2008 20:25:20 +0000 (22:25 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 26 Apr 2008 20:25:20 +0000 (22:25 +0200)
commit0a79acd40d1ee8b6bf217a519eee422ed7e6da6b
tree8efca991bfb10ca0be98c60ad9e50454b1589425
parent21a3387ddd9eedcf6d4f47e591ffa90128b9f560
ide: remove ide_dma_iobase()

* ide_mapped_mmio_dma() and ide_iomio_dma() are called only by
  ide_dma_iobase() so inline them there.

* ide_dma_iobase() is called only by ide_setup_dma() so inline
  it there.

* Setup hwif->extra_base also if hwif->mmio flag is set.

There should be no functional changes casued by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-dma.c