Commit 032a1c93 authored by Mike Frysinger's avatar Mike Frysinger
Browse files

bf537-stamp/nand: fix board_nand_init prototype

The board_nand_init() function should return an int, not void.
Signed-off-by: default avatarMike Frysinger <>
parent 687f952e
......@@ -87,7 +87,7 @@ int bfin_device_ready(struct mtd_info *mtd)
* Members with a "?" were not set in the merged testing-NAND branch,
* so they are not set here either.
void board_nand_init(struct nand_chip *nand)
int board_nand_init(struct nand_chip *nand)
......@@ -97,5 +97,7 @@ void board_nand_init(struct nand_chip *nand)
nand->ecc.mode = NAND_ECC_SOFT;
nand->dev_ready = bfin_device_ready;
nand->chip_delay = 30;
return 0;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment