iommu: Revive device_group iommu-ops call-back
authorJoerg Roedel <jroedel@suse.de>
Wed, 21 Oct 2015 21:51:36 +0000 (23:51 +0200)
committerJoerg Roedel <jroedel@suse.de>
Wed, 21 Oct 2015 22:00:48 +0000 (00:00 +0200)
commit46c6b2bc88a729366605d0dedb6a35b8cf7cc4f0
tree7584041357cf881e24998c49a14353cf32ed14d8
parent876945dbf6497c7539ef958fee7ade970fbbe17a
iommu: Revive device_group iommu-ops call-back

That call-back is currently unused, change it into a
call-back function for finding the right IOMMU group for a
device.
This is a first step to remove the hard-coded PCI dependency
in the iommu-group code.

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