iommu: Export and rename iommu_group_get_for_pci_dev()
authorJoerg Roedel <jroedel@suse.de>
Wed, 21 Oct 2015 21:51:37 +0000 (23:51 +0200)
committerJoerg Roedel <jroedel@suse.de>
Wed, 21 Oct 2015 22:00:49 +0000 (00:00 +0200)
commit5e62292bad10cff25ff75d136c54e62b43bfb0fa
tree62104f98ae9bf9c29f4f3a2a92f808b75e88fbc4
parent46c6b2bc88a729366605d0dedb6a35b8cf7cc4f0
iommu: Export and rename iommu_group_get_for_pci_dev()

Rename that function to pci_device_group() and export it, so
that IOMMU drivers can use it as their device_group
call-back.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/iommu.c
include/linux/iommu.h