Skip to content
Unverified Commit 7440bd78 authored by Miquel Raynal's avatar Miquel Raynal Committed by Maxime Ripard
Browse files

spl: nand: sunxi: declare the ecc_bytes array globally



Move the ecc_bytes array out of nand_max_ecc_strength() for future use
by nand_read_page().

Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Acked-by: default avatarBoris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Maxime Ripard's avatarMaxime Ripard <maxime.ripard@bootlin.com>
parent ba1c98ba
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