[PATCH 1/1] Revert "mtd omap nand: fix driver without CONFIG_PARAMETER"
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Wed Jan 18 10:43:06 EST 2012
This reverts commit 7762f9627a3ec971e4122abf0b3d831b619dcad7.
already applied by d002818ae37545481a8de55ed8c56eb2735b5a72
fix gpmc_nand_probe without param support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
drivers/mtd/nand/nand_omap_gpmc.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/mtd/nand/nand_omap_gpmc.c b/drivers/mtd/nand/nand_omap_gpmc.c
index 04617f6..d55dcaa 100644
--- a/drivers/mtd/nand/nand_omap_gpmc.c
+++ b/drivers/mtd/nand/nand_omap_gpmc.c
@@ -958,7 +958,6 @@ static int gpmc_nand_probe(struct device_d *pdev)
dev_add_param(pdev, "eccmode", omap_gpmc_eccmode_set, NULL, 0);
dev_set_param(pdev, "eccmode", ecc_mode_strings[pdata->ecc_mode]);
- omap_gpmc_eccmode(oinfo, pdata->ecc_mode);
if (! IS_ENABLED(CONFIG_PARAMETER))
omap_gpmc_eccmode(oinfo, pdata->ecc_mode);
--
1.7.7
More information about the barebox
mailing list