OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edf2247
)
sh: sh-rtc wakeup support
author
Magnus Damm
<damm@igel.co.jp>
Thu, 19 Mar 2009 10:14:41 +0000
(10:14 +0000)
committer
Paul Mundt
<lethal@linux-sh.org>
Fri, 20 Mar 2009 09:57:35 +0000
(18:57 +0900)
Flag that the SuperH RTC supports wakeup.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/rtc/rtc-sh.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/rtc-sh.c
b/drivers/rtc/rtc-sh.c
index
9ab660c
..
4898f7f
100644
(file)
--- a/
drivers/rtc/rtc-sh.c
+++ b/
drivers/rtc/rtc-sh.c
@@
-755,6
+755,7
@@
static int __devinit sh_rtc_probe(struct platform_device *pdev)
rtc_set_time(rtc->rtc_dev, &r);
}
+ device_init_wakeup(&pdev->dev, 1);
return 0;
err_unmap: