git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[MTD] [NAND] Fix compilation warnings in drivers/mtd/nand/cs553x_nand.c
[pandora-kernel.git]
/
drivers
/
mtd
/
nand
/
cs553x_nand.c
diff --git
a/drivers/mtd/nand/cs553x_nand.c
b/drivers/mtd/nand/cs553x_nand.c
index
3370a80
..
9f1b451
100644
(file)
--- a/
drivers/mtd/nand/cs553x_nand.c
+++ b/
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())