mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[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 <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
8c5bcded11
commit
4cdd32b4ba
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue