From: Varun Sethi Date: Tue, 23 Apr 2013 04:35:24 +0000 (+0530) Subject: iommu: Move swap_pci_ref function to drivers/iommu/pci.h. X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~25^2^4~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61e015ac5b4d46c2054a78d9bc82c840274929a0;p=pandora-kernel.git iommu: Move swap_pci_ref function to drivers/iommu/pci.h. The swap_pci_ref function is used by the IOMMU API code for swapping pci device pointers, while determining the iommu group for the device. Currently this function was being implemented for different IOMMU drivers. This patch moves the function to a new file, drivers/iommu/pci.h so that the implementation can be shared across various IOMMU drivers. Signed-off-by: Varun Sethi Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed