summaryrefslogtreecommitdiffstats
path: root/drivers/iommu
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2014-07-07 12:01:21 +0200
committerJoerg Roedel <jroedel@suse.de>2014-07-07 12:01:21 +0200
commitffd78f0093ecd0840ad6436e0522a53defd5df38 (patch)
treebccaac9af47ef168dc38c55d944d3d8276634faa /drivers/iommu
parentb22f6434cf48af001330e370e9d781aeb668f98c (diff)
iommu: Fix compile error in iommu-sysfs.c
Add missing include of <linux/slab.h>. Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu')
-rw-r--r--drivers/iommu/iommu-sysfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iommu/iommu-sysfs.c b/drivers/iommu/iommu-sysfs.c
index d6939234a00..39b2d9127db 100644
--- a/drivers/iommu/iommu-sysfs.c
+++ b/drivers/iommu/iommu-sysfs.c
@@ -12,6 +12,7 @@
#include <linux/device.h>
#include <linux/iommu.h>
#include <linux/module.h>
+#include <linux/slab.h>
/*
* We provide a common class "devices" group which initially has no attributes.