From: Thierry Reding Date: Fri, 23 Jan 2015 15:37:52 +0000 (+0100) Subject: iommu/tegra: gart: Provide default ->map_sg() callback X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~208^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35577079b9943e158c7032afe1dde6faf4385222;p=pandora-kernel.git iommu/tegra: gart: Provide default ->map_sg() callback Commit 315786ebbf4a ("iommu: Add iommu_map_sg() function") adds a new ->map_sg() callback and provides a default implementation that drivers can use until they implement a hardware-specific variant. Unfortunately the Tegra GART driver was not updated as part of that commit, so that iommu_map_sg() calls on a domain provided by the GART cause an oops. Fixes: 315786ebbf4a ("iommu: Add iommu_map_sg() function") Cc: Hiroshi Doyu Signed-off-by: Thierry Reding Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed