[PATCH 10/13] mtd: nand: pxa3xx: Add inline keyword to enable_int()
Brian Norris
computersforpeace at gmail.com
Tue Jul 30 03:47:33 EDT 2013
On Mon, Jul 29, 2013 at 4:24 PM, Ezequiel Garcia
<ezequiel.garcia at free-electrons.com> wrote:
> Now that we have added ARCH_HAS_DMA conditional the function
> enable_int() may be unused. So we declare it as inline
> in order to remove the following warning, when the function is not used:
I haven't reviewed the rest too well yet, but I think you want the
'__maybe_unused' qualifier, not 'inline'.
> drivers/mtd/nand//pxa3xx_nand.c:343:24: warning: 'enable_int' defined
> but not used [-Wunused-function]
Brian
More information about the linux-mtd
mailing list