]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf32b3d030362e6f3ef2ee1e6957621072e588106
tree1fd886faeaf4f3dee935f0153e212963f6b3d99e
parentc1de64e461ed32f1575a3ad2386b236923fc2f30
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