iommu: Add generic_device_group() function
authorJoerg Roedel <jroedel@suse.de>
Wed, 21 Oct 2015 21:51:38 +0000 (23:51 +0200)
committerJoerg Roedel <jroedel@suse.de>
Wed, 21 Oct 2015 22:00:49 +0000 (00:00 +0200)
commit6eab556a40384de94c2d03c8d9d632e5154367f5
treec1a50c01363688c5b974317e34f0f90baee7889d
parent5e62292bad10cff25ff75d136c54e62b43bfb0fa
iommu: Add generic_device_group() function

This function can be used as a device_group call-back and
just allocates one iommu-group per device.

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