Skip to content

Commit 4cdd32b

Browse files
zhangfeigaomchehab
authored andcommitted
[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>
1 parent 8c5bcde commit 4cdd32b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/media/rc/ir-hix5hd2.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ static int hix5hd2_ir_remove(struct platform_device *pdev)
297297
return 0;
298298
}
299299

300-
#ifdef CONFIG_PM
300+
#ifdef CONFIG_PM_SLEEP
301301
static int hix5hd2_ir_suspend(struct device *dev)
302302
{
303303
struct hix5hd2_ir_priv *priv = dev_get_drvdata(dev);

0 commit comments

Comments
 (0)