diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/rtc/rtc-ab8500.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-ab8500.c b/drivers/rtc/rtc-ab8500.c index d6bfc4f3658e..82a348095a71 100644 --- a/drivers/rtc/rtc-ab8500.c +++ b/drivers/rtc/rtc-ab8500.c | |||
@@ -308,6 +308,8 @@ static int __devinit ab8500_rtc_probe(struct platform_device *pdev) | |||
308 | return -ENODEV; | 308 | return -ENODEV; |
309 | } | 309 | } |
310 | 310 | ||
311 | device_init_wakeup(&pdev->dev, true); | ||
312 | |||
311 | rtc = rtc_device_register("ab8500-rtc", &pdev->dev, &ab8500_rtc_ops, | 313 | rtc = rtc_device_register("ab8500-rtc", &pdev->dev, &ab8500_rtc_ops, |
312 | THIS_MODULE); | 314 | THIS_MODULE); |
313 | if (IS_ERR(rtc)) { | 315 | if (IS_ERR(rtc)) { |