mtd: nand: pxa3xx: Add __maybe_unused keyword to enable_int()
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Mon, 12 Aug 2013 17:14:57 +0000 (14:14 -0300)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 30 Aug 2013 20:35:01 +0000 (21:35 +0100)
commit57ff88f0f961348a1dec024d611ec7e281510529
tree5b03b9cc72bf4ff367b379d200ae0bb76df99511
parentf4db2e3a3315019c419a7ee8ebaf5d8b361be791
mtd: nand: pxa3xx: Add __maybe_unused keyword to enable_int()

Now that we have added ARCH_HAS_DMA conditional the function
enable_int() may be unused. Declare it as __maybe_unused,
in order to remove the following warning, when the function is not used:

drivers/mtd/nand//pxa3xx_nand.c:343:24: warning: 'enable_int' defined
but not used [-Wunused-function]

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Tested-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/pxa3xx_nand.c
This page took 0.025545 seconds and 5 git commands to generate.