summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-mxs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-mxs.c')
-rw-r--r--drivers/rtc/rtc-mxs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-mxs.c b/drivers/rtc/rtc-mxs.c
index 0e2b0e1e14f6..bb4c33b1a0ba 100644
--- a/drivers/rtc/rtc-mxs.c
+++ b/drivers/rtc/rtc-mxs.c
@@ -254,6 +254,8 @@ static int mxs_rtc_probe(struct platform_device *pdev)
platform_set_drvdata(pdev, rtc_data);
+ device_init_wakeup(&pdev->dev, 1);
+
return 0;
}