/* Common code to handle map devices which are simple ROM (C) 2000 Red Hat. GPL'd.  */
static int maprom_read(struct mtd_info *, loff_t, size_t, size_t *, u_char *)
/* Common code to handle map devices which are simple ROM (C) 2000 Red Hat. GPL'd.  */
static int maprom_read(struct mtd_info *, loff_t, size_t, size_t *, u_char *)
{
	struct map_info *map = mtd->priv;
	map_copy_from(map, buf, from, len);
	*retlen = len;
	return 0;
}