OSDN Git Service

dmaengine: pch: fix compilation for alpha target
authorVinod Koul <vinod.koul@intel.com>
Thu, 22 May 2014 13:20:49 +0000 (18:50 +0530)
committerVinod Koul <vinod.koul@intel.com>
Thu, 22 May 2014 13:20:49 +0000 (18:50 +0530)
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>
drivers/dma/pch_dma.c

index b4b8cc6..9f9ca9f 100644 (file)
@@ -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>