From: Arnaud Patard (Rtp Date: Mon, 5 Mar 2007 13:35:21 +0000 (+0100) Subject: omap-hw: kill eccsize X-Git-Tag: v2.6.21-omap1~96 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=4be3d17e66fdc14753ab7172bd0e6368cb768a6b;p=linux-2.6-omap-h63xx.git omap-hw: kill eccsize mtd->eccsize has been removed in commit mtd->64f60710568db5cec1a76c1d1e261b239f9ef809. Let's remove it in the mtd->omap-hw driver. Signed-off-by: Arnaud Patard --- diff --git a/drivers/mtd/nand/omap-hw.c b/drivers/mtd/nand/omap-hw.c index 3888961e8a7..330a9dca272 100644 --- a/drivers/mtd/nand/omap-hw.c +++ b/drivers/mtd/nand/omap-hw.c @@ -824,7 +824,6 @@ static int __init omap_nand_init(void) this->ecc.steps = 1; this->ecc.size = 2048; this->ecc.bytes = 12; - omap_mtd->eccsize = 2048; nand_write_reg(NND_ECC_SELECT, 6); }