Skip to content
Snippets Groups Projects
Commit 69fb8be4 authored by Mike Frysinger's avatar Mike Frysinger Committed by Scott Wood
Browse files

NAND: move board_nand_init to nand.h


Rather than putting the function prototype for board_nand_init() in the one
place where it gets called, put it into nand.h so that every place that also
defines it gets the prototype.  Otherwise, errors can go silently unnoticed
such as using the wrong return value (void rather than int) when defining
the function.

Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
parent 1ae39862
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment