summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/iommu-sysfs.c
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/iommu-sysfs.c
parentiommu: Constify struct iommu_ops (diff)
downloadlinux-ffd78f0093ecd0840ad6436e0522a53defd5df38.tar.xz
linux-ffd78f0093ecd0840ad6436e0522a53defd5df38.zip
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.