From patchwork Thu Oct 7 23:41:16 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kukjin Kim X-Patchwork-Id: 67113 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-fx0-f56.google.com (mail-fx0-f56.google.com [209.85.161.56]) by ozlabs.org (Postfix) with ESMTP id D7050B70CD for ; Fri, 8 Oct 2010 10:50:00 +1100 (EST) Received: by fxm1 with SMTP id 1sf100479fxm.11 for ; Thu, 07 Oct 2010 16:49:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:received:mime-version:x-beenthere:received :received:received:received:received-spf:received:received:from:to :cc:subject:date:message-id:x-mailer:in-reply-to:references :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :sender:list-subscribe:list-unsubscribe:content-type; bh=+wRjufjOnTknnk7PCIKRPMoKm8szhpWTR3IwhAtdqTM=; b=ZnhRNmVeEZFq/Zq2tGuTE6t34uHSwXd7rDnSGuJalbU0iIgT6umdCy3CcKyTJUTM6k qaghzvR22XdjO1y6cGpMTxrCNNYZ8c7pZddDdTnk+RntoQpP5b5A8P8OCd7mkKJ8lrly 3l2xQW6mkrmIPHYLqKwyzGZRqGZ44H2fKIte8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=mime-version:x-beenthere:received-spf:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type; b=xhxzCMnTrIoJxjeeik+LK+GbJkcXWUOXpn8Z41As6Tc+0fKchP/6fnz/j30UuLI44E rgTyD0K1nk9AQhrxaz03t7jD4uEYQjjuxSrilCWkre7n5JtpBgMTr9DcnmloA5AnKKAP /oI+dOzNeSwmdkmZH7DWTNpLYNH5TsKcmw1vw= Received: by 10.223.58.13 with SMTP id e13mr66473fah.33.1286495397920; Thu, 07 Oct 2010 16:49:57 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.223.59.212 with SMTP id m20ls230203fah.3.p; Thu, 07 Oct 2010 16:49:57 -0700 (PDT) Received: by 10.223.107.141 with SMTP id b13mr78282fap.23.1286495397219; Thu, 07 Oct 2010 16:49:57 -0700 (PDT) Received: by 10.223.107.141 with SMTP id b13mr78281fap.23.1286495397192; Thu, 07 Oct 2010 16:49:57 -0700 (PDT) Received: from ganesha.gnumonks.org (ganesha.gnumonks.org [213.95.27.120]) by gmr-mx.google.com with ESMTP id b13si736667fab.5.2010.10.07.16.49.56; Thu, 07 Oct 2010 16:49:56 -0700 (PDT) Received-SPF: neutral (google.com: 213.95.27.120 is neither permitted nor denied by best guess record for domain of kgene.kim@samsung.com) client-ip=213.95.27.120; Received: from uucp by ganesha.gnumonks.org with local-bsmtp (Exim 4.69) (envelope-from ) id 1P40Dh-0004NH-56; Fri, 08 Oct 2010 01:49:53 +0200 Received: from [12.23.102.184] (helo=localhost.localdomain) by jackpot.kr.gnumonks.org with esmtp (Exim 4.69) (envelope-from ) id 1P3zU0-0003Ip-DR; Fri, 08 Oct 2010 08:02:40 +0900 From: Kukjin Kim To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, rtc-linux@googlegroups.com Cc: ben-linux@fluff.org, p_gortmaker@yahoo.com, a.zummo@towertech.it, akpm@linux-foundation.org, Changhwan Youn , Kukjin Kim Subject: [rtc-linux] [PATCH 3/6] rtc: rtc-s3c: Fix on support RTC Alarm Date: Fri, 8 Oct 2010 08:41:16 +0900 Message-Id: <1286494879-2932-4-git-send-email-kgene.kim@samsung.com> X-Mailer: git-send-email 1.6.2.5 In-Reply-To: <1286494879-2932-1-git-send-email-kgene.kim@samsung.com> References: <1286494879-2932-1-git-send-email-kgene.kim@samsung.com> X-Original-Sender: kgene.kim@samsung.com X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 213.95.27.120 is neither permitted nor denied by best guess record for domain of kgene.kim@samsung.com) smtp.mail=kgene.kim@samsung.com Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: Sender: rtc-linux@googlegroups.com List-Subscribe: , List-Unsubscribe: , From: Changhwan Youn The alarm_irq_enable function should be implemented to support RTC alarm. And fixes tab instead of white space abound proc field. Signed-off-by: Changhwan Youn Signed-off-by: Kukjin Kim Acked-by: Ben Dooks --- drivers/rtc/rtc-s3c.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/rtc/rtc-s3c.c b/drivers/rtc/rtc-s3c.c index fd08876..39fa5b0 100644 --- a/drivers/rtc/rtc-s3c.c +++ b/drivers/rtc/rtc-s3c.c @@ -379,7 +379,8 @@ static const struct rtc_class_ops s3c_rtcops = { .set_alarm = s3c_rtc_setalarm, .irq_set_freq = s3c_rtc_setfreq, .irq_set_state = s3c_rtc_setpie, - .proc = s3c_rtc_proc, + .proc = s3c_rtc_proc, + .alarm_irq_enable = s3c_rtc_setaie, }; static void s3c_rtc_enable(struct platform_device *pdev, int en)