From: Mike Frysinger Date: Fri, 22 Jun 2007 08:34:12 +0000 (+0200) Subject: [patch] add nand_init() prototype to nand.h X-Git-Tag: v1.3.0-rc1~19^2~6^2~8^2~1^2~9 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d677b32855f577ae2690dcd64a172cdd706e0ffc;p=u-boot [patch] add nand_init() prototype to nand.h since nand_init() is expected to be called by other parts of u-boot, there should be a prototype for it in nand.h Signed-off-by: Mike Frysinger Signed-off-by: Stefan Roese --- diff --git a/include/nand.h b/include/nand.h index 23493f7e98..3c0752ea12 100644 --- a/include/nand.h +++ b/include/nand.h @@ -32,6 +32,7 @@ typedef struct mtd_info nand_info_t; extern int nand_curr_device; extern nand_info_t nand_info[]; +extern void nand_init(void); static inline int nand_read(nand_info_t *info, ulong ofs, ulong *len, u_char *buf) {