LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] RTC S3C: Add device_init_wakeup() invokation
@ 2008-10-23 10:46 Yauhen Kharuzhy
  2008-10-23 14:11 ` Ben Dooks
  2008-10-28 10:20 ` Alessandro Zummo
  0 siblings, 2 replies; 3+ messages in thread
From: Yauhen Kharuzhy @ 2008-10-23 10:46 UTC (permalink / raw)
  To: Alessandro Zummo; +Cc: rtc-linux, linux-kernel, Yauhen Kharuzhy

This patch adds device_init_wakeup() ivokation to probe function of
s3c2410_rtc_driver. Without of this wakealarm sysfs attribute does not
initialise.

Signed-off-by: Yauhen Kharuzhy <jekhor@gmail.com>
---
 drivers/rtc/rtc-s3c.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/rtc/rtc-s3c.c b/drivers/rtc/rtc-s3c.c
index 9a92ee1..70d9fc3 100644
--- a/drivers/rtc/rtc-s3c.c
+++ b/drivers/rtc/rtc-s3c.c
@@ -455,6 +455,8 @@ static int __devinit s3c_rtc_probe(struct platform_device *pdev)
 
 	s3c_rtc_setfreq(&pdev->dev, 1);
 
+	device_init_wakeup(&pdev->dev, 1);
+
 	/* register RTC and exit */
 
 	rtc = rtc_device_register("s3c", &pdev->dev, &s3c_rtcops,
-- 
1.5.6.5


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] RTC S3C: Add device_init_wakeup() invokation
  2008-10-23 10:46 [PATCH] RTC S3C: Add device_init_wakeup() invokation Yauhen Kharuzhy
@ 2008-10-23 14:11 ` Ben Dooks
  2008-10-28 10:20 ` Alessandro Zummo
  1 sibling, 0 replies; 3+ messages in thread
From: Ben Dooks @ 2008-10-23 14:11 UTC (permalink / raw)
  To: Yauhen Kharuzhy; +Cc: Alessandro Zummo, rtc-linux, linux-kernel

On Thu, Oct 23, 2008 at 01:46:55PM +0300, Yauhen Kharuzhy wrote:
> This patch adds device_init_wakeup() ivokation to probe function of
                                       invocation
> s3c2410_rtc_driver. Without of this wakealarm sysfs attribute does not
> initialise.
> 
> Signed-off-by: Yauhen Kharuzhy <jekhor@gmail.com>
Acked-by: Ben Dooks <ben-linux@fluff.org>
> ---
>  drivers/rtc/rtc-s3c.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/rtc/rtc-s3c.c b/drivers/rtc/rtc-s3c.c
> index 9a92ee1..70d9fc3 100644
> --- a/drivers/rtc/rtc-s3c.c
> +++ b/drivers/rtc/rtc-s3c.c
> @@ -455,6 +455,8 @@ static int __devinit s3c_rtc_probe(struct platform_device *pdev)
>  
>  	s3c_rtc_setfreq(&pdev->dev, 1);
>  
> +	device_init_wakeup(&pdev->dev, 1);
> +
>  	/* register RTC and exit */
>  
>  	rtc = rtc_device_register("s3c", &pdev->dev, &s3c_rtcops,
> -- 
> 1.5.6.5
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

-- 
Ben (ben@fluff.org, http://www.fluff.org/)

  'a smiley only costs 4 bytes'

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] RTC S3C: Add device_init_wakeup() invokation
  2008-10-23 10:46 [PATCH] RTC S3C: Add device_init_wakeup() invokation Yauhen Kharuzhy
  2008-10-23 14:11 ` Ben Dooks
@ 2008-10-28 10:20 ` Alessandro Zummo
  1 sibling, 0 replies; 3+ messages in thread
From: Alessandro Zummo @ 2008-10-28 10:20 UTC (permalink / raw)
  To: Yauhen Kharuzhy; +Cc: rtc-linux, linux-kernel, Yauhen Kharuzhy, akpm

On Thu, 23 Oct 2008 13:46:55 +0300
Yauhen Kharuzhy <jekhor@gmail.com> wrote:

> This patch adds device_init_wakeup() ivokation to probe function of
> s3c2410_rtc_driver. Without of this wakealarm sysfs attribute does not
> initialise.
> 
> Signed-off-by: Yauhen Kharuzhy <jekhor@gmail.com>


 Acked-by: Alessandro Zummo <a.zummo@towertech.it>

-- 

 Best regards,

 Alessandro Zummo,
  Tower Technologies - Torino, Italy

  http://www.towertech.it


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-10-28 10:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-23 10:46 [PATCH] RTC S3C: Add device_init_wakeup() invokation Yauhen Kharuzhy
2008-10-23 14:11 ` Ben Dooks
2008-10-28 10:20 ` Alessandro Zummo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).