mtd: nand: add option to quieten off the no device found messgae
authorBen Dooks <ben@simtec.co.uk>
Mon, 2 Nov 2009 18:12:33 +0000 (18:12 +0000)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 30 Nov 2009 09:48:31 +0000 (09:48 +0000)
commitb1c6e6db5bb7acad82e1c64914c6a9404dae3ee1
tree92fda540b31a8687dca448fd1e91dd1f78a08825
parent6eb4feffb9d619a44fe434e777ef095a29cf4759
mtd: nand: add option to quieten off the no device found messgae

Add NAND_SCAN_SILENT_NODEV to chip->options to the user-worrying messages
'No NAND device found!!!'. This message often worries users (was three
exclamation marks really necessary?) and especially in systems such as the
Simtec Osiris where there may be optional NAND devices which are not
known until probe time.

Revised version of the original NAND_PROBE_SPECULATIVE patch after comments
by Artem Bityutskiy about adding a whole new call.

Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Simtec Linux Team <linux@simtec.co.uk>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/nand_base.c
include/linux/mtd/nand.h