Skip to content
Commit 846793b3 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

[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: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
Acked-by: default avatarMaxime Coquelin <maxime.coquelin@st.com>
parent ceefaf5d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment