Browse Source

iommu: Fix compile error in iommu-sysfs.c

Add missing include of <linux/slab.h>.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
Joerg Roedel 11 years ago
parent
commit
ffd78f0093
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/iommu/iommu-sysfs.c

+ 1 - 0
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.