arm: fix implicit use of sched.h in bcmring/dma.c
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 31 Jul 2011 21:04:15 +0000 (17:04 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:30:47 +0000 (19:30 -0400)
To fix this:

arch/arm/mach-bcmring/dma.c: In function 'dma_request_channel_dbg':
arch/arm/mach-bcmring/dma.c:1022: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)
arch/arm/mach-bcmring/dma.c:1022: error: (Each undeclared identifier is reported only once

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/arm/mach-bcmring/dma.c

index 0ca00050666aa56cc920bc1f81f0af3196bb234a..b52b8de91bde72c2a4847c1a37a44f425974612d 100644 (file)
@@ -26,6 +26,7 @@
 #include <linux/device.h>
 #include <linux/dma-mapping.h>
 #include <linux/interrupt.h>
+#include <linux/sched.h>
 #include <linux/irqreturn.h>
 #include <linux/proc_fs.h>
 #include <linux/slab.h>