Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Zhangfei Gao and committed by
Mauro Carvalho Chehab
4cdd32b4 8c5bcded

+1 -1
+1 -1
drivers/media/rc/ir-hix5hd2.c
··· 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);