Thread (7 messages) 7 messages, 4 authors, 2013-09-03
STALE4656d

[PATCH] mtd: atmel_nand: fix the warning when CONFIG_OF is not defined

From: dedekind1@gmail.com (Artem Bityutskiy)
Date: 2013-08-07 06:30:59

On Wed, 2013-08-07 at 11:36 +0800, Josh Wu wrote:
This patch fix following warning:

drivers/mtd/nand/atmel_nand.c:2007: warning: 'atmel_nand_nfc_match' defined but not used

This patch add '#if defined(CONFIG_OF)' block to guard around the definition of
atmel_nand_nfc_match, in order to avoid the warning when kernel is configurated
as non-dt supported.

Signed-off-by: Josh Wu <redacted>
Pushed to l2-mtd.git, thanks!

-- 
Best Regards,
Artem Bityutskiy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help