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)
committerJoerg Roedel <joerg.roedel@amd.com>
Fri, 21 Oct 2011 12:37:19 +0000 (14:37 +0200)
commitff21776d12ff7993a6b236b8273ef62777d25dfb
treee4775ee5c1f5f5e7e6975c0887766a3b886c1258
parent39d4ebb95925046863dc0ef2698dfcf2c1f1dcbe
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