summaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/gcc-common.h
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2020-05-13 15:10:29 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-05-27 17:37:29 +0200
commite7a71903eceda26983222895fd2fd3d86197b03b (patch)
treea8990605ef5dbd7c7a030a127bb84489a7460754 /scripts/gcc-plugins/gcc-common.h
parent657a03ff6c97319d8e664c05a1beebd8eb15d049 (diff)
mtd: spinand: Propagate ECC information to the MTD structure
[ Upstream commit 3507273d5a4d3c2e46f9d3f9ed9449805f5dff07 ] This is done by default in the raw NAND core (nand_base.c) but was missing in the SPI-NAND core. Without these two lines the ecc_strength and ecc_step_size values are not exported to the user through sysfs. Fixes: 7529df465248 ("mtd: nand: Add core infrastructure to support SPI NANDs") Cc: stable@vger.kernel.org Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions