Re: [PATCH 8/8] drm/bridge: cdns: mark PM functions as __maybe_unused

2018-05-29 Thread Thierry Reding
On Mon, May 28, 2018 at 04:32:43PM +0200, Boris Brezillon wrote: > +Thierry > > Hi Arnd, > > On Fri, 25 May 2018 17:50:15 +0200 > Arnd Bergmann wrote: > > > These two functions are unused in some configurations, and using > > __maybe_unused > > is the easiest way to shut up the harmless

Re: [PATCH 8/8] drm/bridge: cdns: mark PM functions as __maybe_unused

2018-05-28 Thread Boris Brezillon
+Thierry Hi Arnd, On Fri, 25 May 2018 17:50:15 +0200 Arnd Bergmann wrote: > These two functions are unused in some configurations, and using > __maybe_unused > is the easiest way to shut up the harmless warnings: > > drivers/gpu/drm/bridge/cdns-dsi.c:1353:12: error:

[PATCH 8/8] drm/bridge: cdns: mark PM functions as __maybe_unused

2018-05-25 Thread Arnd Bergmann
These two functions are unused in some configurations, and using __maybe_unused is the easiest way to shut up the harmless warnings: drivers/gpu/drm/bridge/cdns-dsi.c:1353:12: error: 'cdns_dsi_suspend' defined but not used [-Werror=unused-function] static int cdns_dsi_suspend(struct device