single atmel hlcdc fix. * 'drm-atmel-hlcdc-fixes' of https://github.com/bbrezillon/linux-at91: drm/atmel-hlcdc: Compile suspend/resume for PM_SLEEP only
Unified · Split
| @@ -559,7 +559,7 @@ static int atmel_hlcdc_dc_drm_remove(struct platform_device *pdev) · 558 unmodified lines | ||
| 559 | 559 | return 0; |
| 560 | 560 | } |
| 561 | 561 | |
| 562 | −#ifdef CONFIG_PM | |
| 562 | +#ifdef CONFIG_PM_SLEEP | |
| 563 | 563 | static int atmel_hlcdc_dc_drm_suspend(struct device *dev) |
| 564 | 564 | { |
| 565 | 565 | struct drm_device *drm_dev = dev_get_drvdata(dev); |