From patchwork Tue Aug 30 10:26:07 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Axel Lin X-Patchwork-Id: 112255 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-gw0-f56.google.com (mail-gw0-f56.google.com [74.125.83.56]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id C768FB6F92 for ; Tue, 30 Aug 2011 20:26:22 +1000 (EST) Received: by gwaa11 with SMTP id a11sf7187733gwa.11 for ; Tue, 30 Aug 2011 03:26:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:subject:from:to:cc:date:message-id :mime-version:x-mailer:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=0658n8cavF6ss0syWXrqh5oO/ub7KAUgnPmnv8qoGSw=; b=mhXbPBDEPFIV2xHLQWpZ4+dBPkZhZVs8N8R/1miAVBBqHGFEuhW7/nilrHOPj2MPZ6 Gcxb+jb9OCRiLnynXfndXQGBrSdfqpoXjuUfTAcBTyKCfH2b67lnnY9kzz5dSGki49Ty 5IDT6oJsJJ55UVt//Jf8hcbutzXgzkVtUYt4I= Received: by 10.90.65.3 with SMTP id n3mr1068004aga.27.1314699977969; Tue, 30 Aug 2011 03:26:17 -0700 (PDT) X-BeenThere: rtc-linux@googlegroups.com Received: by 10.231.202.200 with SMTP id ff8ls247987ibb.6.gmail; Tue, 30 Aug 2011 03:26:17 -0700 (PDT) Received: by 10.42.151.129 with SMTP id e1mr424539icw.4.1314699977584; Tue, 30 Aug 2011 03:26:17 -0700 (PDT) Received: by 10.42.151.129 with SMTP id e1mr424538icw.4.1314699977575; Tue, 30 Aug 2011 03:26:17 -0700 (PDT) Received: from mail-iy0-f178.google.com (mail-iy0-f178.google.com [209.85.210.178]) by gmr-mx.google.com with ESMTPS id z10si3041653icv.7.2011.08.30.03.26.17 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 30 Aug 2011 03:26:17 -0700 (PDT) Received-SPF: pass (google.com: domain of axel.lin@gmail.com designates 209.85.210.178 as permitted sender) client-ip=209.85.210.178; Received: by iage36 with SMTP id e36so1463507iag.9 for ; Tue, 30 Aug 2011 03:26:17 -0700 (PDT) Received: by 10.42.174.1 with SMTP id t1mr4780772icz.381.1314699977459; Tue, 30 Aug 2011 03:26:17 -0700 (PDT) Received: from [218.172.236.208] (218-172-236-208.dynamic.hinet.net [218.172.236.208]) by mx.google.com with ESMTPS id a11sm3109204ibg.55.2011.08.30.03.26.13 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 30 Aug 2011 03:26:16 -0700 (PDT) Subject: [rtc-linux] [PATCH] rtc: imxdi: Add missing include of linux/sched.h From: Axel Lin To: linux-kernel@vger.kernel.org Cc: Baruch Siach , Wan ZongShun , Andrew Morton , Alessandro Zummo , rtc-linux@googlegroups.com Date: Tue, 30 Aug 2011 18:26:07 +0800 Message-ID: <1314699967.19440.0.camel@phoenix> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 X-Original-Sender: axel.lin@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of axel.lin@gmail.com designates 209.85.210.178 as permitted sender) smtp.mail=axel.lin@gmail.com; dkim=pass (test mode) header.i=@gmail.com Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: X-Google-Group-Id: 712029733259 List-Post: , List-Help: , List-Archive: Sender: rtc-linux@googlegroups.com List-Subscribe: , List-Unsubscribe: , Include linux/sched.h to fix below build error. CC drivers/rtc/rtc-imxdi.o drivers/rtc/rtc-imxdi.c: In function 'di_write_wait': drivers/rtc/rtc-imxdi.c:168: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function) drivers/rtc/rtc-imxdi.c:168: error: (Each undeclared identifier is reported only once drivers/rtc/rtc-imxdi.c:168: error: for each function it appears in.) drivers/rtc/rtc-imxdi.c:168: error: implicit declaration of function 'signal_pending' drivers/rtc/rtc-imxdi.c:168: error: implicit declaration of function 'schedule_timeout' drivers/rtc/rtc-imxdi.c: In function 'dryice_norm_irq': drivers/rtc/rtc-imxdi.c:329: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function) make[2]: *** [drivers/rtc/rtc-imxdi.o] Error 1 make[1]: *** [drivers/rtc] Error 2 make: *** [drivers] Error 2 Signed-off-by: Axel Lin --- drivers/rtc/rtc-imxdi.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/rtc/rtc-imxdi.c b/drivers/rtc/rtc-imxdi.c index 2dd3c01..d93a960 100644 --- a/drivers/rtc/rtc-imxdi.c +++ b/drivers/rtc/rtc-imxdi.c @@ -35,6 +35,7 @@ #include #include #include +#include #include /* DryIce Register Definitions */