summaryrefslogtreecommitdiff
path: root/include/onenand_uboot.h
diff options
context:
space:
mode:
authorLadislav Michl <ladis@linux-mips.org>2016-07-12 20:28:20 +0200
committerTom Rini <trini@konsulko.com>2016-07-22 14:46:12 -0400
commit77b93e5e9b28328f76556e0c0b94889df47077d7 (patch)
tree352199b0f3e03ab87b45bafa12ce7d12c85c8364 /include/onenand_uboot.h
parentd9098ee55f6cf6f51e2fbed0336957e2b7156225 (diff)
mtd: OneNAND: allow board init function fail
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Diffstat (limited to 'include/onenand_uboot.h')
-rw-r--r--include/onenand_uboot.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/onenand_uboot.h b/include/onenand_uboot.h
index d69e0d2d19..995f0aa6fe 100644
--- a/include/onenand_uboot.h
+++ b/include/onenand_uboot.h
@@ -26,7 +26,7 @@ extern struct mtd_info onenand_mtd;
extern struct onenand_chip onenand_chip;
/* board */
-extern void onenand_board_init(struct mtd_info *);
+extern int onenand_board_init(struct mtd_info *);
/* Functions */
extern void onenand_init(void);