aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/ir-hix5hd2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/rc/ir-hix5hd2.c')
-rw-r--r--drivers/media/rc/ir-hix5hd2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/rc/ir-hix5hd2.c b/drivers/media/rc/ir-hix5hd2.c
index 08bbd4f508cd..b0df62961c14 100644
--- a/drivers/media/rc/ir-hix5hd2.c
+++ b/drivers/media/rc/ir-hix5hd2.c
@@ -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);