]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: mt2712: fix build without PM_SLEEP
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 17 Mar 2020 14:34:21 +0000 (15:34 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 17 Mar 2020 14:34:47 +0000 (15:34 +0100)
commitf1198b077f759f3dc9fa847d70ad8586d08eea78
tree64897eec95055cace1fc7317c4bac5cb21f0d517
parent4fb1a582638e4b6a0065cbd322774b59ef9d0356
rtc: mt2712: fix build without PM_SLEEP

Fix this build error when PM_SLEEP is not selected:

drivers/rtc/rtc-mt2712.c:412:10: error: ‘mt2712_pm_ops’ undeclared here (not in a function); did you mean ‘mt2712_rtc_ops’?
  412 |   .pm = &mt2712_pm_ops,
      |          ^~~~~~~~~~~~~

Link: https://lore.kernel.org/r/20200317143421.9551-1-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-mt2712.c