mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
[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 <vapier@gentoo.org> Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
e08e6453fc
commit
d677b32855
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue