Re: [PATCH] mtd: nand: atmel: mark resume function __maybe_unused

2017-05-31 Thread Boris Brezillon
On Wed, 31 May 2017 10:19:26 +0200 Arnd Bergmann wrote: > The newly added suspend/resume support causes a harmless warning: > > drivers/mtd/nand/atmel/nand-controller.c:2513:12: error: > 'atmel_nand_controller_resume' defined but not used [-Werror=unused-function] > > This shuts up the warning

[PATCH] mtd: nand: atmel: mark resume function __maybe_unused

2017-05-31 Thread Arnd Bergmann
The newly added suspend/resume support causes a harmless warning: drivers/mtd/nand/atmel/nand-controller.c:2513:12: error: 'atmel_nand_controller_resume' defined but not used [-Werror=unused-function] This shuts up the warning with a __maybe_unused annotation. Fixes: b107007a7114 ("mtd: nand: a