From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933809AbZJIRm4 (ORCPT ); Fri, 9 Oct 2009 13:42:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933694AbZJIRmw (ORCPT ); Fri, 9 Oct 2009 13:42:52 -0400 Received: from sj-iport-2.cisco.com ([171.71.176.71]:19807 "EHLO sj-iport-2.cisco.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933591AbZJIRmq (ORCPT ); Fri, 9 Oct 2009 13:42:46 -0400 Authentication-Results: sj-iport-2.cisco.com; dkim=neutral (message not signed) header.i=none X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAE8Sz0qrR7Hu/2dsb2JhbADCfphFhCwE X-IronPort-AV: E=Sophos;i="4.44,533,1249257600"; d="scan'208";a="213099224" From: Roland Dreier To: Greg Kroah-Hartman Cc: Bill Pemberton , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Staging: comedi: Add include of to fix build X-Message-Flag: Warning: May contain useful information Date: Fri, 09 Oct 2009 10:42:09 -0700 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OriginalArrivalTime: 09 Oct 2009 17:42:09.0893 (UTC) FILETIME=[D3B4F150:01CA4907] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit a99bbaf5 ("headers: remove sched.h from poll.h") removed the implicit include of via , and broke the comedi build with errors like: drivers/staging/comedi/drivers/serial2002.c:201: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function) Explicitly include to fix this. Signed-off-by: Roland Dreier --- drivers/staging/comedi/drivers/serial2002.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/staging/comedi/drivers/serial2002.c b/drivers/staging/comedi/drivers/serial2002.c index a219679..3b706ca 100644 --- a/drivers/staging/comedi/drivers/serial2002.c +++ b/drivers/staging/comedi/drivers/serial2002.c @@ -40,6 +40,7 @@ Status: in development #include #include #include +#include /* * Board descriptions for two imaginary boards. Describing the