summaryrefslogtreecommitdiffstats
path: root/drivers/dma/pch_dma.c
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2014-05-22 15:20:49 +0200
committerVinod Koul <vinod.koul@intel.com>2014-05-22 15:20:49 +0200
commita15783c34f6304e85f7d810e71316c1c3ba1fe69 (patch)
treee12e41c0e8963d5a54d50a38108014cfd977da31 /drivers/dma/pch_dma.c
parentdma: pch_dma: Fix Kconfig dependencies (diff)
downloadlinux-a15783c34f6304e85f7d810e71316c1c3ba1fe69.tar.xz
linux-a15783c34f6304e85f7d810e71316c1c3ba1fe69.zip
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>
Diffstat (limited to 'drivers/dma/pch_dma.c')
-rw-r--r--drivers/dma/pch_dma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/pch_dma.c b/drivers/dma/pch_dma.c
index b4b8cc69c2bf..9f9ca9fe5ce6 100644
--- a/drivers/dma/pch_dma.c
+++ b/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>