powerpc/pasemi: Clean up pasemi iommu table initializations
authorNishanth Aravamudan <nacc@us.ibm.com>
Mon, 18 Oct 2010 07:27:00 +0000 (07:27 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 29 Nov 2010 04:48:20 +0000 (15:48 +1100)
commit2f9c9be2ff31670c942572cf96eb6c696362b584
tree0fc6fc9d9d0ddb0d4e8fa75fabb654cd12069737
parent6d283d782f9fbafee5c672bfdaff4c10f6fdc788
powerpc/pasemi: Clean up pasemi iommu table initializations

No need for empty helpers with iommu off, the ppc_md hooks are optional.

The direct_dma_ops are the default pci_dma_ops, so no need to set in the
them iommu off case.

No need to set the device tree device_node pci node iommu pointer, its
only used for dlpar remove.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pasemi/iommu.c