534352f
I get this compile failure on parisc:
534352f
534352f
drivers/pci/ats.c: In function 'ats_alloc_one':
534352f
drivers/pci/ats.c:29: error: implicit declaration of function 'kzalloc'
534352f
drivers/pci/ats.c:29: warning: assignment makes pointer from integer without a cast
534352f
drivers/pci/ats.c: In function 'ats_free_one':
534352f
drivers/pci/ats.c:45: error: implicit declaration of function 'kfree'
534352f
534352f
Because ats.c is missing linux/slab.h as an include.  This patch fixes it
534352f
534352f
Signed-off-by: James Bottomley <JBottomley@xxxxxxxxxxxxx>
534352f
534352f
---
534352f
534352f
diff --git a/drivers/pci/ats.c b/drivers/pci/ats.c
534352f
index 7ec56fb..b0dd08e 100644
534352f
--- a/drivers/pci/ats.c
534352f
+++ b/drivers/pci/ats.c
534352f
@@ -13,6 +13,7 @@
534352f
 #include <linux/export.h>
534352f
 #include <linux/pci-ats.h>
534352f
 #include <linux/pci.h>
534352f
+#include <linux/slab.h>
534352f
 
534352f
 #include "pci.h"
534352f