From patchwork Mon Jan 11 18:25:26 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 8007861 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 942E0BEEE5 for ; Mon, 11 Jan 2016 18:25:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B562720295 for ; Mon, 11 Jan 2016 18:25:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 88E732021B for ; Mon, 11 Jan 2016 18:25:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761260AbcAKSZc (ORCPT ); Mon, 11 Jan 2016 13:25:32 -0500 Received: from michel.telenet-ops.be ([195.130.137.88]:45731 "EHLO michel.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759629AbcAKSZb (ORCPT ); Mon, 11 Jan 2016 13:25:31 -0500 Received: from ayla.of.borg ([84.195.106.123]) by michel.telenet-ops.be with bizsmtp id 4iRV1s01c2fm56U06iRWNc; Mon, 11 Jan 2016 19:25:30 +0100 Received: from ramsan.of.borg ([192.168.97.29] helo=ramsan) by ayla.of.borg with esmtp (Exim 4.82) (envelope-from ) id 1aIh9l-0003gT-Q3; Mon, 11 Jan 2016 19:25:29 +0100 Received: from geert by ramsan with local (Exim 4.82) (envelope-from ) id 1aIh9l-00055o-Mh; Mon, 11 Jan 2016 19:25:29 +0100 From: Geert Uytterhoeven To: Laurent Pinchart Cc: linux-sh@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 1/2] v4l: vsp1: Add missing #include Date: Mon, 11 Jan 2016 19:25:26 +0100 Message-Id: <1452536727-19538-1-git-send-email-geert+renesas@glider.be> X-Mailer: git-send-email 1.9.1 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- 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 #include +#include #include #include