summaryrefslogtreecommitdiff
path: root/drivers/media/rc
diff options
context:
space:
mode:
authorZhangfei Gao <zhangfei.gao@linaro.org>2014-10-10 03:53:47 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-11-03 10:47:05 -0200
commit4cdd32b4ba101ae07331f2058b20d7ce0ecc4961 (patch)
tree810ca077cc5e72b25b8fa3af19a0cfcb9a2ad8c6 /drivers/media/rc
parent8c5bcded11cb607b1bb5920de3b9c882136d27db (diff)
[media] ir-hix5hd2 fix build warning
Change CONFIG_PM to CONFIG_PM_SLEEP to solve warning: 'hix5hd2_ir_suspend' & 'hix5hd2_ir_resume' defined but not used Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/rc')
-rw-r--r--drivers/media/rc/ir-hix5hd2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/rc/ir-hix5hd2.c b/drivers/media/rc/ir-hix5hd2.c
index 08bbd4f508cd..b0df62961c14 100644
--- a/drivers/media/rc/ir-hix5hd2.c
+++ b/drivers/media/rc/ir-hix5hd2.c
@@ -297,7 +297,7 @@ static int hix5hd2_ir_remove(struct platform_device *pdev)
return 0;
}
-#ifdef CONFIG_PM
+#ifdef CONFIG_PM_SLEEP
static int hix5hd2_ir_suspend(struct device *dev)
{
struct hix5hd2_ir_priv *priv = dev_get_drvdata(dev);