]> git.baikalelectronics.ru Git - kernel.git/commit
[media] use CONFIG_PM_SLEEP for suspend/resume
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 22 Jun 2015 19:32:53 +0000 (16:32 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 24 Jun 2015 11:38:20 +0000 (08:38 -0300)
commite8d8c25ad62495729f92df46ac9d611aa2766ebe
tree39a5c9971e4c23651a520a33949747758ba323e1
parent3126e22bf0b23f0c21fbb46d4ad187b52e88d2d8
[media] use CONFIG_PM_SLEEP for suspend/resume

Using CONFIG_PM_SLEEP suppress the warnings when the driver is
compiled without PM sleep functions:

drivers/media/rc/st_rc.c:338:12: warning: ‘st_rc_suspend’ defined but not used [-Wunused-function]
drivers/media/rc/st_rc.c:359:12: warning: ‘st_rc_resume’ defined but not used [-Wunused-function]

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
drivers/media/rc/st_rc.c