path: root/fs/jffs2
diff options
authorStelian Pop <>2008-05-13 17:31:24 +0200
committerScott Wood <>2008-05-28 11:06:25 -0500
commit5922db6c0948506be91e0de44e7a6863a18a417f (patch)
treeb2bb938dff0307fc1b9f84281b0ea98490b1623c /fs/jffs2
parent135f0a7488af2947adbe4b40b79280bdfe5e9886 (diff)
Cleanup nand_info[] declaration.
The nand_info array is declared as extern in several .c files. Those days, nand.h contains a reference to the array, so there is no need to declare it elsewhere. Signed-off-by: Stelian Pop <> Signed-off-by: Scott Wood <>
Diffstat (limited to 'fs/jffs2')
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/jffs2/jffs2_1pass.c b/fs/jffs2/jffs2_1pass.c
index 1993dc2359..7e27ee18a2 100644
--- a/fs/jffs2/jffs2_1pass.c
+++ b/fs/jffs2/jffs2_1pass.c
@@ -164,9 +164,6 @@ static struct part_info *current_part;
/* this one defined in nand_legacy.c */
int read_jffs2_nand(size_t start, size_t len,
size_t * retlen, u_char * buf, int nanddev);
-/* info for NAND chips, defined in drivers/mtd/nand/nand.c */
-extern nand_info_t nand_info[];
#define NAND_PAGE_SIZE 512
OpenPOWER on IntegriCloud