From: Ezequiel Garcia Date: Mon, 12 Aug 2013 17:14:57 +0000 (-0300) Subject: mtd: nand: pxa3xx: Add __maybe_unused keyword to enable_int() X-Git-Tag: v3.12-rc1~82^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57ff88f0f961348a1dec024d611ec7e281510529;p=pandora-kernel.git 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 Tested-by: Daniel Mack Signed-off-by: Brian Norris Signed-off-by: David Woodhouse --- Reading git-diff-tree failed