projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88eb63b
)
MLK-21076-1 rtc: imx-rpmsg: Fix build error when CONFIG_PM_SLEEP=n
author
Anson Huang
<Anson.Huang@nxp.com>
Tue, 23 Jul 2019 01:37:14 +0000
(09:37 +0800)
committer
Anson Huang
<Anson.Huang@nxp.com>
Tue, 23 Jul 2019 07:53:13 +0000
(15:53 +0800)
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
patch
|
blob
|
history
diff --git
a/drivers/rtc/rtc-imx-rpmsg.c
b/drivers/rtc/rtc-imx-rpmsg.c
index
d381cb0
..
dc74891
100644
(file)
--- a/
drivers/rtc/rtc-imx-rpmsg.c
+++ b/
drivers/rtc/rtc-imx-rpmsg.c
@@
-358,7
+358,7
@@
static const struct dev_pm_ops imx_rpmsg_rtc_pm_ops = {
#else
-#define IMX
8_RPMSG_RTC_PM_OPS
NULL
+#define IMX
_RPMSG_RTC_PM_OPS
NULL
#endif