From: Manuel Lauss Date: Thu, 31 May 2007 04:44:17 +0000 (+0900) Subject: sh: Trivial fix for dma-api compile failure. X-Git-Tag: v2.6.22-rc4~67^2~3 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=bdff33ddd906b2ab9eb70e9098f507fac6d56b70;p=linux-2.6-omap-h63xx.git sh: Trivial fix for dma-api compile failure. 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 Signed-off-by: Paul Mundt --- diff --git a/arch/sh/drivers/dma/dma-api.c b/arch/sh/drivers/dma/dma-api.c index 8057a27a1bc..cf8e1199433 100644 --- a/arch/sh/drivers/dma/dma-api.c +++ b/arch/sh/drivers/dma/dma-api.c @@ -16,6 +16,7 @@ #include #include #include +#include #include DEFINE_SPINLOCK(dma_spin_lock);