From: Daniel Axtens Date: Tue, 31 Mar 2015 05:00:48 +0000 (+1100) Subject: powerpc: dart_iommu: optionally populate controller_ops on init X-Git-Tag: omap-for-v4.1/fixes-rc1~126^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=798248a3c083a4cf0ead44a85e66c6a18647abea;p=pandora-kernel.git powerpc: dart_iommu: optionally populate controller_ops on init If a pci_controller_ops struct is provided to iommu_init_early_dart, populate that with the DMA setup ops, rather than ppc_md. If NULL is provided, populate ppc_md as before. This also patches the call sites for Maple and Power Mac to pass NULL, so existing behaviour is preserved. The benefit of making this optional is that it means we don't have to change dart, Maple and Power Mac over to the controller_ops system in one fell swoop. Signed-off-by: Daniel Axtens Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed