From 3cf044c703fa2bcbd9af15b3afd27c28f813d50c Mon Sep 17 00:00:00 2001 From: Manish Katiyar Date: Tue, 14 Oct 2008 23:43:29 +0530 Subject: [PATCH] --- yaml --- r: 116041 b: refs/heads/master c: 6b8520296d67622dfa225436ef325f7dfd6ece8e h: refs/heads/master i: 116039: 2f1dc59ba415e9b8e2795ca27d3d8afb9e30be67 v: v3 --- [refs] | 2 +- trunk/drivers/mtd/nand/cs553x_nand.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 1436dced3bf7..37b7754e9bd0 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5bf1723723487ddb0b9c9641b6559da96b27cc93 +refs/heads/master: 6b8520296d67622dfa225436ef325f7dfd6ece8e diff --git a/trunk/drivers/mtd/nand/cs553x_nand.c b/trunk/drivers/mtd/nand/cs553x_nand.c index 3370a800fd36..9f1b451005ca 100644 --- a/trunk/drivers/mtd/nand/cs553x_nand.c +++ b/trunk/drivers/mtd/nand/cs553x_nand.c @@ -289,8 +289,10 @@ static int __init cs553x_init(void) int i; uint64_t val; +#ifdef CONFIG_MTD_PARTITIONS int mtd_parts_nb = 0; struct mtd_partition *mtd_parts = NULL; +#endif /* If the CPU isn't a Geode GX or LX, abort */ if (!is_geode())