summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/iova.c
diff options
context:
space:
mode:
authorSakari Ailus2015-07-13 13:31:30 +0200
committerDavid Woodhouse2015-07-28 16:48:01 +0200
commit15bbdec3931e617231c12b0920e497e87ec8c2c6 (patch)
tree9545df03c86b7a7a8bcfcf2a1f2fdf526ccc1c23 /drivers/iommu/iova.c
parentiommu: iova: Export symbols (diff)
downloadkernel-qcow2-linux-15bbdec3931e617231c12b0920e497e87ec8c2c6.tar.gz
kernel-qcow2-linux-15bbdec3931e617231c12b0920e497e87ec8c2c6.tar.xz
kernel-qcow2-linux-15bbdec3931e617231c12b0920e497e87ec8c2c6.zip
iommu: Make the iova library a module
The iova library has use outside the intel-iommu driver, thus make it a module. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/iommu/iova.c')
-rw-r--r--drivers/iommu/iova.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/iommu/iova.c b/drivers/iommu/iova.c
index cbd74c79b212..fa0adef32bd6 100644
--- a/drivers/iommu/iova.c
+++ b/drivers/iommu/iova.c
@@ -18,6 +18,7 @@
*/
#include <linux/iova.h>
+#include <linux/module.h>
#include <linux/slab.h>
void
@@ -548,3 +549,6 @@ error:
free_iova_mem(prev);
return NULL;
}
+
+MODULE_AUTHOR("Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>");
+MODULE_LICENSE("GPL");