projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7106a27
)
rtc S3C: add device_init_wakeup() invokation
author
Yauhen Kharuzhy
<
[email protected]
>
Wed, 29 Oct 2008 21:01:16 +0000
(14:01 -0700)
committer
Linus Torvalds
<
[email protected]
>
Thu, 30 Oct 2008 18:38:47 +0000
(11:38 -0700)
tAdd 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 <
[email protected]
>
Acked-by: Ben Dooks <
[email protected]
>
Acked-by: Alessandro Zummo <
[email protected]
>
Cc: David Brownell <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/rtc/rtc-s3c.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/rtc-s3c.c
b/drivers/rtc/rtc-s3c.c
index 340d03be82069bbcd7f783ef39737e4b86368875..f59277bbedaa2923a7b4f35127d9fdf9b3b3b309 100644
(file)
--- 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,