Skip to content

Commit

Permalink
[media] ir-hix5hd2 fix build warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Zhangfei Gao authored and Mauro Carvalho Chehab committed Nov 3, 2014
1 parent 8c5bcde commit 4cdd32b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/rc/ir-hix5hd2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4cdd32b

Please sign in to comment.