summaryrefslogtreecommitdiffstats
path: root/lib/rbtree_test.c
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2014-04-03 23:50:05 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-04 01:21:21 +0200
commitb5ada4600dfd4f07f570a6dda7b5b020d96f8591 (patch)
tree53f3a60eb9c1948f8d63bd818ac2b112ce72ac85 /lib/rbtree_test.c
parentdrivers/rtc/rtc-ds3232.c: make it possible to share an irq (diff)
downloadlinux-b5ada4600dfd4f07f570a6dda7b5b020d96f8591.tar.xz
linux-b5ada4600dfd4f07f570a6dda7b5b020d96f8591.zip
drivers/rtc/rtc-cmos.c: fix compilation warning when !CONFIG_PM_SLEEP
CONFIG_PM will be set also if only CONFIG_PM_RUNTIME is set which causes the compiler to emit following warning: drivers/rtc/rtc-cmos.c:845:12: warning: =E2=80=98cmos_resume=E2=80=99 defined but not used [-Wunused-function] Fix this by using CONFIG_PM_SLEEP instead of CONFIG_PM and removing it from the driver pm ops as this has been taken care by SIMPLE_DEV_PM_OPS() already. Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/rbtree_test.c')
0 files changed, 0 insertions, 0 deletions