From: Geert Uytterhoeven <geert+renesas@glider.be>
To: linux-sh@vger.kernel.org
Subject: [PATCH 1/2] v4l: vsp1: Add missing #include <linux/sched.h>
Date: Mon, 11 Jan 2016 18:25:26 +0000 [thread overview]
Message-ID: <1452536727-19538-1-git-send-email-geert+renesas@glider.be> (raw)
If CONFIG_SPI=n:
drivers/media/platform/vsp1/vsp1_pipe.c: In function 'vsp1_pipeline_stop':
drivers/media/platform/vsp1/vsp1_pipe.c:226:429: error: 'TASK_UNINTERRUPTIBLE' undeclared (first use in this function)
ret = wait_event_timeout(pipe->wq, vsp1_pipeline_stopped(pipe),
^
drivers/media/platform/vsp1/vsp1_pipe.c:226:429: note: each undeclared identifier is reported only once for each function it appears in
drivers/media/platform/vsp1/vsp1_pipe.c:226:642: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)
ret = wait_event_timeout(pipe->wq, vsp1_pipeline_stopped(pipe),
^
drivers/media/platform/vsp1/vsp1_pipe.c:226:688: error: 'TASK_KILLABLE' undeclared (first use in this function)
ret = wait_event_timeout(pipe->wq, vsp1_pipeline_stopped(pipe),
^
drivers/media/platform/vsp1/vsp1_pipe.c:226:3: error: implicit declaration of function 'schedule_timeout' [-Werror=implicit-function-declaration]
ret = wait_event_timeout(pipe->wq, vsp1_pipeline_stopped(pipe),
^
drivers/media/platform/vsp1/vsp1_pipe.c: In function 'vsp1_pipeline_frame_end':
drivers/media/platform/vsp1/vsp1_pipe.c:287:24: error: 'TASK_NORMAL' undeclared (first use in this function)
wake_up(&pipe->wq);
^
drivers/media/platform/vsp1/vsp1_pipe.c: In function 'vsp1_pipelines_suspend':
drivers/media/platform/vsp1/vsp1_pipe.c:378:429: error: 'TASK_UNINTERRUPTIBLE' undeclared (first use in this function)
ret = wait_event_timeout(pipe->wq, vsp1_pipeline_stopped(pipe),
^
drivers/media/platform/vsp1/vsp1_pipe.c:378:642: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)
ret = wait_event_timeout(pipe->wq, vsp1_pipeline_stopped(pipe),
^
drivers/media/platform/vsp1/vsp1_pipe.c:378:688: error: 'TASK_KILLABLE' undeclared (first use in this function)
ret = wait_event_timeout(pipe->wq, vsp1_pipeline_stopped(pipe),
^
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
Against renesas-drivers-2016-01-05-v4.4-rc8
drivers/media/platform/vsp1/vsp1_pipe.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/platform/vsp1/vsp1_pipe.c b/drivers/media/platform/vsp1/vsp1_pipe.c
index 96f0e7d4c400172e..2283e64f12faadd1 100644
--- a/drivers/media/platform/vsp1/vsp1_pipe.c
+++ b/drivers/media/platform/vsp1/vsp1_pipe.c
@@ -13,6 +13,7 @@
#include <linux/delay.h>
#include <linux/list.h>
+#include <linux/sched.h>
#include <linux/wait.h>
#include <media/media-entity.h>
--
1.9.1
next reply other threads:[~2016-01-11 18:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-11 18:25 Geert Uytterhoeven [this message]
2016-01-25 0:37 ` [PATCH 1/2] v4l: vsp1: Add missing #include <linux/sched.h> Laurent Pinchart
2016-01-25 7:50 ` Geert Uytterhoeven
2016-01-25 19:03 ` Laurent Pinchart
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1452536727-19538-1-git-send-email-geert+renesas@glider.be \
--to=geert+renesas@glider.be \
--cc=linux-sh@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).