/* For licensing information, see the file 'LICENCE' in this directory.  */
static int jffs2_flash_setup(struct jffs2_sb_info *c)
/* For licensing information, see the file 'LICENCE' in this directory.  */
static int jffs2_flash_setup(struct jffs2_sb_info *c)
{
		ret = jffs2_nand_flash_setup(c);
		if (ret)
			return ret;
	}
	if (jffs2_dataflash(c)) {
		ret = jffs2_dataflash_setup(c);
		if (ret)
			return ret;
	}
	if (jffs2_nor_wbuf_flash(c)) {
		ret = jffs2_nor_wbuf_flash_setup(c);
		if (ret)
			return ret;
	}
	if (jffs2_ubivol(c)) {
		ret = jffs2_ubivol_setup(c);
		if (ret)
			return ret;
	}
	return ret;
}