Commit 4cdd32b4ba101ae07331f2058b20d7ce0ecc4961

Authored by Zhangfei Gao
Committed by Mauro Carvalho Chehab
1 parent 8c5bcded11

[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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/media/rc/ir-hix5hd2.c
... ... @@ -297,7 +297,7 @@
297 297 return 0;
298 298 }
299 299  
300   -#ifdef CONFIG_PM
  300 +#ifdef CONFIG_PM_SLEEP
301 301 static int hix5hd2_ir_suspend(struct device *dev)
302 302 {
303 303 struct hix5hd2_ir_priv *priv = dev_get_drvdata(dev);