Browse Source

dmaengine: pch: fix compilation for alpha target

commit 4828b493 introduced COMPILE_TEST for this driver and this cause compile
failure on alpha as kzalloc wasnt availble for this arch in included header, so
explictly add slab.h

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Vinod Koul 11 years ago
parent
commit
a15783c34f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/dma/pch_dma.c

+ 1 - 0
drivers/dma/pch_dma.c

@@ -21,6 +21,7 @@
 #include <linux/dma-mapping.h>
 #include <linux/init.h>
 #include <linux/pci.h>
+#include <linux/slab.h>
 #include <linux/interrupt.h>
 #include <linux/module.h>
 #include <linux/pch_dma.h>