diff options
Diffstat (limited to 'drivers/rtc/rtc-snvs.c')
-rw-r--r-- | drivers/rtc/rtc-snvs.c | 5 |
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 | ||
349 | static SIMPLE_DEV_PM_OPS(snvs_rtc_pm_ops, snvs_rtc_suspend, snvs_rtc_resume); | 349 | static const struct dev_pm_ops snvs_rtc_pm_ops = { |
350 | .suspend_noirq = snvs_rtc_suspend, | ||
351 | .resume_noirq = snvs_rtc_resume, | ||
352 | }; | ||
350 | 353 | ||
351 | static const struct of_device_id snvs_dt_ids[] = { | 354 | static 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", }, |