Driver core: Add iommu_ops to bus_type
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 26 Aug 2011 14:48:26 +0000 (16:48 +0200)
committerHiroshi DOYU <hdoyu@nvidia.com>
Mon, 23 Jan 2012 09:11:35 +0000 (11:11 +0200)
commitd27fe92f870a09254674a6b6a4f32a7725238248
treeef5507dfbe3b0a97ee5f5633b28c23ffd6b626cd
parent6264ec29d5b6584b585ff04b816950784ec7e1f8
Driver core: Add iommu_ops to bus_type

This is the starting point to make the iommu_ops used for
the iommu-api a per-bus-type structure. It is required to
easily implement bus-specific setup in the iommu-layer.
The first user will be the iommu-group attribute in sysfs.

Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/iommu.c
include/linux/device.h
include/linux/iommu.h