diff options
Diffstat (limited to 'drivers/rtc/rtc-test.c')
-rw-r--r-- | drivers/rtc/rtc-test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-test.c b/drivers/rtc/rtc-test.c index b298e9902f45..74b3a0603b73 100644 --- a/drivers/rtc/rtc-test.c +++ b/drivers/rtc/rtc-test.c | |||
@@ -133,6 +133,7 @@ static int test_probe(struct platform_device *plat_dev) | |||
133 | break; | 133 | break; |
134 | default: | 134 | default: |
135 | rtd->rtc->ops = &test_rtc_ops; | 135 | rtd->rtc->ops = &test_rtc_ops; |
136 | device_init_wakeup(&plat_dev->dev, 1); | ||
136 | } | 137 | } |
137 | 138 | ||
138 | timer_setup(&rtd->alarm, test_rtc_alarm_handler, 0); | 139 | timer_setup(&rtd->alarm, test_rtc_alarm_handler, 0); |