PM_TEST_SUSPEND should depend on RTC_CLASS, not RTC_LIB

Insufficient dependency - we really want CONFIG_RTC_CLASS=y there.
That will give us CONFIG_RTC_LIB=y, so the old dependency can be
simply replaced.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Al Viro and committed by Linus Torvalds 28959742 4b30fbde

+1 -1
+1 -1
kernel/power/Kconfig
··· 96 96 97 97 config PM_TEST_SUSPEND 98 98 bool "Test suspend/resume and wakealarm during bootup" 99 - depends on SUSPEND && PM_DEBUG && RTC_LIB=y 99 + depends on SUSPEND && PM_DEBUG && RTC_CLASS=y 100 100 ---help--- 101 101 This option will let you suspend your machine during bootup, and 102 102 make it wake up a few seconds later using an RTC wakeup alarm.