summaryrefslogtreecommitdiff
path: root/drivers/iommu/iommu-sysfs.c
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2014-07-07 14:01:21 +0400
committerJoerg Roedel <jroedel@suse.de>2014-07-07 14:01:21 +0400
commitffd78f0093ecd0840ad6436e0522a53defd5df38 (patch)
treebccaac9af47ef168dc38c55d944d3d8276634faa /drivers/iommu/iommu-sysfs.c
parentb22f6434cf48af001330e370e9d781aeb668f98c (diff)
downloadlinux-ffd78f0093ecd0840ad6436e0522a53defd5df38.tar.xz
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/iommu-sysfs.c')
-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 d6939234a009..39b2d9127dbf 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.