diff --git a/fs/jffs2/background.c b/fs/jffs2/background.c index 5bc2e129c585e9204c8b84593b8bd14ef8a35c1b..8ea7877b59c769d543eb4ce21c0f62050a05faf4 100755 --- a/fs/jffs2/background.c +++ b/fs/jffs2/background.c @@ -20,7 +20,7 @@ #define GC_THREAD_FLAG_STOP 2 #define GC_THREAD_FLAG_HAS_EXIT 4 -extern struct MtdNorDev *jffs2_dev_list; +extern struct MtdNorDev jffs2_dev_list[CONFIG_MTD_PATTITION_NUM]; static void jffs2_garbage_collect_thread(unsigned long data); void jffs2_garbage_collect_trigger(struct jffs2_sb_info *c)