summaryrefslogtreecommitdiff
path: root/drivers/mxc
diff options
context:
space:
mode:
authorTony Lin <tony.lin@freescale.com>2011-11-08 16:46:14 +0800
committerJason Liu <r64343@freescale.com>2012-01-09 21:05:32 +0800
commite9a019fdea91076ac3f36d7f504261690fc9cbd4 (patch)
tree05b4d726405b283c3e957932da6552b4172a5316 /drivers/mxc
parentaae79a0906a0fb362d0faff8e598bfd5bde2045b (diff)
ENGR00161631 [ASRC]fix build error
if kernel hacking -> Big Kernel Lock is deselected, ASRC will build fail as: drivers/mxc/asrc/mxc_asrc.c: In function 'asrc_input_dma_callback': drivers/mxc/asrc/mxc_asrc.c:873: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function) drivers/mxc/asrc/mxc_asrc.c:873: error: (Each undeclared identifier is reported only once drivers/mxc/asrc/mxc_asrc.c:873: error: for each function it appears in.) drivers/mxc/asrc/mxc_asrc.c: In function 'asrc_output_dma_callback': drivers/mxc/asrc/mxc_asrc.c:915: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function) drivers/mxc/asrc/mxc_asrc.c: In function 'asrc_ioctl': drivers/mxc/asrc/mxc_asrc.c:1259: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function) drivers/mxc/asrc/mxc_asrc.c:1259: error: implicit declaration of function 'signal_pending' drivers/mxc/asrc/mxc_asrc.c:1259: error: implicit declaration of function 'schedule_timeout' CC fs/ext4/symlink.o drivers/mxc/asrc/mxc_asrc.c: In function 'mxc_asrc_close': drivers/mxc/asrc/mxc_asrc.c:1554: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function) make[3]: *** [drivers/mxc/asrc/mxc_asrc.o] Error 1 Signed-off-by: Tony Lin <tony.lin@freescale.com>
Diffstat (limited to 'drivers/mxc')
-rw-r--r--drivers/mxc/asrc/mxc_asrc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mxc/asrc/mxc_asrc.c b/drivers/mxc/asrc/mxc_asrc.c
index 7898f9066bfb..37528eb90752 100644
--- a/drivers/mxc/asrc/mxc_asrc.c
+++ b/drivers/mxc/asrc/mxc_asrc.c
@@ -36,6 +36,7 @@
#include <linux/dma-mapping.h>
#include <linux/mxc_asrc.h>
#include <linux/fsl_devices.h>
+#include <linux/sched.h>
#include <asm/irq.h>
#include <asm/memory.h>
#include <mach/dma.h>