if (slave->offset == MTDPART_OFS_APPEND)
slave->offset = cur_offset;
if (slave->offset == MTDPART_OFS_NXTBLK) {
if (slave->offset == MTDPART_OFS_APPEND)
slave->offset = cur_offset;
if (slave->offset == MTDPART_OFS_NXTBLK) {
{
struct mtd_partition part;
struct mtd_part *p, *new;
{
struct mtd_partition part;
struct mtd_part *p, *new;
int mtd_del_partition(struct mtd_info *master, int partno)
{
struct mtd_part *slave, *next;
int mtd_del_partition(struct mtd_info *master, int partno)
{
struct mtd_part *slave, *next;
/*
* This function, given a master MTD object and a partition table, creates
* and registers slave MTD objects which are bound to the master according to
/*
* This function, given a master MTD object and a partition table, creates
* and registers slave MTD objects which are bound to the master according to