[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linuxsh-dev
Subject:    [PATCH 2.6.22-rc3] sh: dma-api.c compile fix
From:       Manuel Lauss <mano () roarinelk ! homelinux ! net>
Date:       2007-05-28 13:52:02
Message-ID: 20070528135202.GA3879 () roarinelk ! homelinux ! net
[Download RAW message or body]

Trivial fix for arch/sh/drivers/dma/dma-api.c compile failure:

  CC      arch/sh/drivers/dma/dma-api.o
a/arch/sh/drivers/dma/dma-api.c: In function 'dma_wait_for_completion':
a/arch/sh/drivers/dma/dma-api.c:233: error: 'TASK_UNINTERRUPTIBLE' undeclared (first \
use in this function) a/arch/sh/drivers/dma/dma-api.c:233: error: (Each undeclared \
identifier is reported only once a/arch/sh/drivers/dma/dma-api.c:233: error: for each \
function it appears in.) a/arch/sh/drivers/dma/dma-api.c:233: warning: implicit \
declaration of function 'schedule'

Signed-off-by: Manuel Lauss <mano@roarinelk.homelinux.net>

--- a/arch/sh/drivers/dma/dma-api.c	2007-05-27 13:17:03.000000000 +0200
+++ c/arch/sh/drivers/dma/dma-api.c	2007-05-28 15:42:36.000000000 +0200
@@ -16,6 +16,7 @@
 #include <linux/list.h>
 #include <linux/platform_device.h>
 #include <linux/mm.h>
+#include <linux/sched.h>
 #include <asm/dma.h>
 
 DEFINE_SPINLOCK(dma_spin_lock);

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
linuxsh-dev mailing list
linuxsh-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxsh-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic