summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-rc5t619.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-rc5t619.c')
-rw-r--r--drivers/rtc/rtc-rc5t619.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-rc5t619.c b/drivers/rtc/rtc-rc5t619.c
index 711f62eecd79..74d169102074 100644
--- a/drivers/rtc/rtc-rc5t619.c
+++ b/drivers/rtc/rtc-rc5t619.c
@@ -414,7 +414,7 @@ static int rc5t619_rtc_probe(struct platform_device *pdev)
} else {
/* enable wake */
- device_init_wakeup(&pdev->dev, 1);
+ device_init_wakeup(&pdev->dev, true);
enable_irq_wake(rtc->irq);
}
} else {