[PATCH] mtd: elm: compile suspend/resume only with PM_SLEEP

Brian Norris computersforpeace at gmail.com
Mon May 12 13:18:28 PDT 2014

On Wed, Apr 23, 2014 at 06:00:58AM +0000, Pekon Gupta wrote:
> >From: Wolfram Sang <wsa at sang-engineering.com>
> >
> >Fixes:
> >drivers/mtd/devices/elm.c:480:12: warning: 'elm_suspend' defined but not used [-Wunused-function]
> >drivers/mtd/devices/elm.c:488:12: warning: 'elm_resume' defined but not used [-Wunused-function]
> >
> >Signed-off-by: Wolfram Sang <wsa at sang-engineering.com>
> >
> Acked-by: Pekon Gupta <pekon at ti.com>

Pushed to l2-mtd.git. Thanks!

> I think it's safe to mark it for stable also
> CC: <stable at vger.kernel.org> # 3.12.x+

No, build warnings are clearly clearly not candidates for -stable.


More information about the linux-mtd mailing list