Message ID | 1317304029-29039-1-git-send-email-linus.walleij@stericsson.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <rtc-linux+bncCIHiyaL5AhDn7ZH0BBoEWpm-DA@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-wy0-f184.google.com (mail-wy0-f184.google.com [74.125.82.184]) (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 007BA1007D4 for <incoming@patchwork.ozlabs.org>; Thu, 29 Sep 2011 23:48:17 +1000 (EST) Received: by wyj26 with SMTP id 26sf1133824wyj.11 for <incoming@patchwork.ozlabs.org>; Thu, 29 Sep 2011 06:48:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:from:to:cc:subject:date:message-id :x-mailer:mime-version: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=/ObmZd/ehxe0MqVGe8Iqf9yVtavBIedPJitN4uot3nA=; b=3Hi88uZ7eSWfaiU+JqpJRHGKpubm+KX7btLKIv+w5IqRcHtJGbK4Xg0Fq0USD4YvCG oP8RAuqwoWaiYxQCuVOuDNNdchQtirno+mwG161TK8qAzZxbISK5/7XIczlshs2g38dc v/LHewxwdyjjbpzLfPZUc5fE+E6y66SzcCJgs= Received: by 10.216.13.194 with SMTP id b44mr427932web.17.1317304042176; Thu, 29 Sep 2011 06:47:22 -0700 (PDT) X-BeenThere: rtc-linux@googlegroups.com Received: by 10.14.36.104 with SMTP id v80ls1523469eea.1.canary; Thu, 29 Sep 2011 06:47:18 -0700 (PDT) Received: by 10.14.2.25 with SMTP id 25mr2294302eee.2.1317304038440; Thu, 29 Sep 2011 06:47:18 -0700 (PDT) Received: by 10.14.2.25 with SMTP id 25mr2294300eee.2.1317304038376; Thu, 29 Sep 2011 06:47:18 -0700 (PDT) Received: from eu1sys200aog108.obsmtp.com (eu1sys200aog108.obsmtp.com. [207.126.144.125]) by gmr-mx.google.com with SMTP id h4si1034804eea.3.2011.09.29.06.47.16 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 29 Sep 2011 06:47:18 -0700 (PDT) Received-SPF: neutral (google.com: 207.126.144.125 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) client-ip=207.126.144.125; Received: from beta.dmz-us.st.com ([167.4.1.35]) (using TLSv1) by eu1sys200aob108.postini.com ([207.126.147.11]) with SMTP ID DSNKToR2455WpJggjgKFb+fxkWGSmr9DMZ8q@postini.com; Thu, 29 Sep 2011 13:47:18 UTC Received: from zeta.dmz-us.st.com (ns4.st.com [167.4.16.71]) by beta.dmz-us.st.com (STMicroelectronics) with ESMTP id 511BD9E; Thu, 29 Sep 2011 13:47:12 +0000 (GMT) Received: from relay1.stm.gmessaging.net (unknown [10.230.100.17]) by zeta.dmz-us.st.com (STMicroelectronics) with ESMTP id E0C1855; Thu, 29 Sep 2011 13:47:11 +0000 (GMT) Received: from exdcvycastm004.EQ1STM.local (alteon-source-exch [10.230.100.61]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "exdcvycastm004", Issuer "exdcvycastm004" (not verified)) by relay1.stm.gmessaging.net (Postfix) with ESMTPS id 3938A24C2F0; Thu, 29 Sep 2011 15:47:04 +0200 (CEST) Received: from localhost.localdomain (10.230.100.153) by smtp.stericsson.com (10.230.100.2) with Microsoft SMTP Server (TLS) id 8.3.83.0; Thu, 29 Sep 2011 15:47:10 +0200 From: Linus Walleij <linus.walleij@stericsson.com> To: Alessandro Zummo <a.zummo@towertech.it>, <rtc-linux@googlegroups.com> Cc: Lee Jones <lee.jones@linaro.org>, Andrew Lynn <andrew.lynn@stericsson.com>, Linus Walleij <linus.walleij@linaro.org> Subject: [rtc-linux] [PATCH 2/3] rtc/ab8500: set can_wake flag Date: Thu, 29 Sep 2011 15:47:09 +0200 Message-ID: <1317304029-29039-1-git-send-email-linus.walleij@stericsson.com> X-Mailer: git-send-email 1.7.3.2 MIME-Version: 1.0 X-Original-Sender: linus.walleij@stericsson.com X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 207.126.144.125 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) smtp.mail=linus.walleij@stericsson.com Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: <rtc-linux.googlegroups.com> X-Google-Group-Id: 712029733259 List-Post: <http://groups.google.com/group/rtc-linux/post?hl=en_US>, <mailto:rtc-linux@googlegroups.com> List-Help: <http://groups.google.com/support/?hl=en_US>, <mailto:rtc-linux+help@googlegroups.com> List-Archive: <http://groups.google.com/group/rtc-linux?hl=en_US> Sender: rtc-linux@googlegroups.com List-Subscribe: <http://groups.google.com/group/rtc-linux/subscribe?hl=en_US>, <mailto:rtc-linux+subscribe@googlegroups.com> List-Unsubscribe: <http://groups.google.com/group/rtc-linux/subscribe?hl=en_US>, <mailto:rtc-linux+unsubscribe@googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1 |
diff --git a/drivers/rtc/rtc-ab8500.c b/drivers/rtc/rtc-ab8500.c index d6bfc4f..82a3480 100644 --- a/drivers/rtc/rtc-ab8500.c +++ b/drivers/rtc/rtc-ab8500.c @@ -308,6 +308,8 @@ static int __devinit ab8500_rtc_probe(struct platform_device *pdev) return -ENODEV; } + device_init_wakeup(&pdev->dev, true); + rtc = rtc_device_register("ab8500-rtc", &pdev->dev, &ab8500_rtc_ops, THIS_MODULE); if (IS_ERR(rtc)) {