powerpc: Add iommu domain pointer to device archdata
authorVarun Sethi <Varun.Sethi@freescale.com>
Mon, 15 Jul 2013 04:50:55 +0000 (10:20 +0530)
committerJoerg Roedel <joro@8bytes.org>
Wed, 14 Aug 2013 09:38:34 +0000 (11:38 +0200)
commitbb9175051aedb33dcf44741c6f145107ab132a87
tree646676bbc5b3991fc70f850c836e7ff140832ba2
parentd4e4ab86bcba5a72779c43dc1459f71fea3d89c8
powerpc: Add iommu domain pointer to device archdata

Add an iommu domain pointer to device (powerpc) archdata.  Devices
are attached to iommu domains and this pointer provides a mechanism
to correlate between a device and the associated iommu domain.  This
field is set when a device is attached to a domain.

Signed-off-by: Varun Sethi <Varun.Sethi@freescale.com>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
arch/powerpc/include/asm/device.h