lkml.org 
[lkml]   [2008]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] RTC S3C: Add device_init_wakeup() invokation
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'


\
 
 \ /
  Last update: 2008-10-23 16:13    [W:0.035 / U:2.992 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site