powerpc/cell: clean up fixed mapping dma_ops initialization
authorChristoph Hellwig <hch@lst.de>
Mon, 22 May 2017 11:18:56 +0000 (13:18 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 28 Jun 2017 13:54:52 +0000 (06:54 -0700)
commit228a5e1a875006588f394345e96c64215f8b132e
tree1fd886faeaf4f3dee935f0153e212963f6b3d99e
parentc1f03776327f97674058fe0e10bf5408b8db14b9
powerpc/cell: clean up fixed mapping dma_ops initialization

By the time cell_pci_dma_dev_setup calls cell_dma_dev_setup no device can
have the fixed map_ops set yet as it's only set by the set_dma_mask
method.  So move the setup for the fixed case to be only called in that
place instead of indirecting through cell_dma_dev_setup.

Signed-off-by: Christoph Hellwig <hch@lst.de>
arch/powerpc/platforms/cell/iommu.c