Linux-mtd Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mtd/fsmc_nand: fix build error
@ 2011-07-18 10:55 Linus Walleij
  2011-07-20  5:01 ` Artem Bityutskiy
  0 siblings, 1 reply; 2+ messages in thread
From: Linus Walleij @ 2011-07-18 10:55 UTC (permalink / raw)
  To: linux-mtd; +Cc: Dmitry Eremin-Solenikov, Linus Walleij, David Woodhouse

Recent -next does not build due to malformed code, so just fix it.

Cc: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
Dmitry can you check that I fixed this the right way?
---
 drivers/mtd/nand/fsmc_nand.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/nand/fsmc_nand.c b/drivers/mtd/nand/fsmc_nand.c
index 8cc8065..e53b760 100644
--- a/drivers/mtd/nand/fsmc_nand.c
+++ b/drivers/mtd/nand/fsmc_nand.c
@@ -719,7 +719,7 @@ static int __init fsmc_nand_probe(struct platform_device *pdev)
 				partition_info_128KB_blk,
 			host->mtd.size <= 0x04000000 ?
 				ARRAY_SIZE(partition_info_16KB_blk) :
-				ARRAY_SIZE(partition_info_128KB_blk),
+				ARRAY_SIZE(partition_info_128KB_blk));
 	if (ret)
 		goto err_probe;
 
-- 
1.7.6

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-07-20  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-18 10:55 [PATCH] mtd/fsmc_nand: fix build error Linus Walleij
2011-07-20  5:01 ` Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox