On Tue, Oct 16, 2012 at 07:28:28PM -0500, Kim Phillips wrote: [snip] > cmd_mtdparts.c:157:4: warning: symbol 'current_mtd_partnum' was not declared. > Should it be static? [snip] > /* current active device and partition number */ > -struct mtd_device *current_mtd_dev = NULL; > -u8 current_mtd_partnum = 0; > +static struct mtd_device *current_mtd_dev = NULL; > +static u8 current_mtd_partnum = 0;
This is wrong, cmd_jffs.c also uses current_mtd_partnum and has an extern in the C file for it :( -- Tom
signature.asc
Description: Digital signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot