summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/gpu/drm/atmel-hlcdc
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/gpu/drm/atmel-hlcdc')
-rw-r--r--kernel/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c b/kernel/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c
index 60b0c13d7..aebc4595a 100644
--- a/kernel/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c
+++ b/kernel/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c
@@ -559,7 +559,7 @@ static int atmel_hlcdc_dc_drm_remove(struct platform_device *pdev)
return 0;
}
-#ifdef CONFIG_PM
+#ifdef CONFIG_PM_SLEEP
static int atmel_hlcdc_dc_drm_suspend(struct device *dev)
{
struct drm_device *drm_dev = dev_get_drvdata(dev);