[POWERPC] Add celleb_dma_dev_setup()
authorMichael Ellerman <michael@ellerman.id.au>
Mon, 21 Jan 2008 05:42:42 +0000 (16:42 +1100)
committerPaul Mackerras <paulus@samba.org>
Fri, 25 Jan 2008 11:52:54 +0000 (22:52 +1100)
commit450d87eaeb4d43bd9e1f9523a6a3bfeb48209fea
treeb0bae624c3d097e8708e5e1e3a4632b4139bb37b
parent110f95c9f082709c5a28a64c00bae819916e8578
[POWERPC] Add celleb_dma_dev_setup()

Celleb always uses dma_direct_ops, and sets dma_direct_offset, so it
too should set dma_data to dma_direct_offset.

Currently there's no pci_dma_dev_setup() routine for Celleb so add one.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/celleb/iommu.c