commit | 846793b3f926da8224f15c438043f08dd5f11882 | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Mon Jun 22 16:32:53 2015 -0300 |
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Wed Jun 24 08:38:20 2015 -0300 |
tree | 39a5c9971e4c23651a520a33949747758ba323e1 | |
parent | ceefaf5d8e04414a8d9323d6647f36103e8747b7 [diff] |
[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>