aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-snvs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-snvs.c')
-rw-r--r--drivers/rtc/rtc-snvs.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-snvs.c b/drivers/rtc/rtc-snvs.c
index d4a651268174..2cd8ffe5c698 100644
--- a/drivers/rtc/rtc-snvs.c
+++ b/drivers/rtc/rtc-snvs.c
@@ -346,7 +346,10 @@ static int snvs_rtc_resume(struct device *dev)
346} 346}
347#endif 347#endif
348 348
349static SIMPLE_DEV_PM_OPS(snvs_rtc_pm_ops, snvs_rtc_suspend, snvs_rtc_resume); 349static const struct dev_pm_ops snvs_rtc_pm_ops = {
350 .suspend_noirq = snvs_rtc_suspend,
351 .resume_noirq = snvs_rtc_resume,
352};
350 353
351static const struct of_device_id snvs_dt_ids[] = { 354static const struct of_device_id snvs_dt_ids[] = {
352 { .compatible = "fsl,sec-v4.0-mon-rtc-lp", }, 355 { .compatible = "fsl,sec-v4.0-mon-rtc-lp", },