[PATCH] drm/atmel-hlcdc: Compile suspend/resume for PM_SLEEP only

2015-08-18 Thread Boris Brezillon
On Fri, 14 Aug 2015 13:58:20 +0200 Thierry Reding wrote: > From: Thierry Reding > > If PM is enabled but PM_SLEEP is disabled, the suspend/resume functions > are still unused and produce a compiler warning. > > Signed-off-by: Thierry Reding I'm adding Cc: # 4.1+ while applying this

[PATCH] drm/atmel-hlcdc: Compile suspend/resume for PM_SLEEP only

2015-08-17 Thread Boris Brezillon
On Fri, 14 Aug 2015 13:58:20 +0200 Thierry Reding wrote: > From: Thierry Reding > > If PM is enabled but PM_SLEEP is disabled, the suspend/resume functions > are still unused and produce a compiler warning. > > Signed-off-by: Thierry Reding Acked-by: Boris Brezillon Thanks, Boris > ---

[PATCH] drm/atmel-hlcdc: Compile suspend/resume for PM_SLEEP only

2015-08-14 Thread Thierry Reding
From: Thierry Reding If PM is enabled but PM_SLEEP is disabled, the suspend/resume functions are still unused and produce a compiler warning. Signed-off-by: Thierry Reding --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 2 +- 1 file changed, 1 insertion(+), 1