X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fmtd%2Fchips%2Fjedec.c;h=2c3f019197c116463b74b04645dd6baf54e0dd65;hb=c36264dfb2d6fa6383082de0a1bba8e12b477da1;hp=c40b48dabed362c00a5bc2c001a75d2131a6b05c;hpb=eedb9f09e92598c165de37a8c210434d270ca3a6;p=linux-2.6-omap-h63xx.git diff --git a/drivers/mtd/chips/jedec.c b/drivers/mtd/chips/jedec.c index c40b48dabed..2c3f019197c 100644 --- a/drivers/mtd/chips/jedec.c +++ b/drivers/mtd/chips/jedec.c @@ -256,6 +256,7 @@ static struct mtd_info *jedec_probe(struct map_info *map) MTD->name = map->name; MTD->type = MTD_NORFLASH; MTD->flags = MTD_CAP_NORFLASH; + MTD->writesize = 1; MTD->erasesize = SectorSize*(map->buswidth); // printk("MTD->erasesize is %x\n",(unsigned int)MTD->erasesize); MTD->size = priv->size;