MLK-21076-1 rtc: imx-rpmsg: Fix build error when CONFIG_PM_SLEEP=n
authorAnson Huang <Anson.Huang@nxp.com>
Tue, 23 Jul 2019 01:37:14 +0000 (09:37 +0800)
committerAnson Huang <Anson.Huang@nxp.com>
Tue, 23 Jul 2019 07:53:13 +0000 (15:53 +0800)
commite793a79fba6c3f4d571504bd3fc92ecbba052dec
tree0fada835b6211fc873d9871bbd5917e73f9437f8
parent88eb63be65b86fb521e1565a85a6e65ab6d080ba
MLK-21076-1 rtc: imx-rpmsg: Fix build error when CONFIG_PM_SLEEP=n

drivers/rtc/rtc-imx-rpmsg.c:374:9:
error: 'IMX_RPMSG_RTC_PM_OPS' undeclared here (not in a function);
did you mean 'IMX8_RPMSG_RTC_PM_OPS'?

   .pm = IMX_RPMSG_RTC_PM_OPS,
         ^~~~~~~~~~~~~~~~~~~~
         IMX8_RPMSG_RTC_PM_OPS

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
(cherry picked from commit 86aba1097ae69ff75999bddc3c3b0ad6c0bc7e2e)
drivers/rtc/rtc-imx-rpmsg.c