aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/chips/sharp.c
diff options
context:
space:
mode:
authorArtem B. Bityutskiy <dedekind@sauron.oktetlabs.ru>2006-06-14 19:53:44 +0400
committerArtem B. Bityutskiy <dedekind@sauron.oktetlabs.ru>2006-06-14 19:53:44 +0400
commit783ed81ff39d3f938a6b2efd09fbad96e41e5c1f (patch)
tree31cdfd9c39c9451ba37866dcb6e82e68c770216c /drivers/mtd/chips/sharp.c
parentf9068876f5ef583f8e9ebf4acd2ef5b35b113db9 (diff)
downloadkernel_samsung_aries-783ed81ff39d3f938a6b2efd09fbad96e41e5c1f.zip
kernel_samsung_aries-783ed81ff39d3f938a6b2efd09fbad96e41e5c1f.tar.gz
kernel_samsung_aries-783ed81ff39d3f938a6b2efd09fbad96e41e5c1f.tar.bz2
[MTD] assume mtd->writesize is 1 for NOR flashes
Signed-off-by: Artem B. Bityitskiy
Diffstat (limited to 'drivers/mtd/chips/sharp.c')
-rw-r--r--drivers/mtd/chips/sharp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/chips/sharp.c b/drivers/mtd/chips/sharp.c
index 3cc0b23..967abbe 100644
--- a/drivers/mtd/chips/sharp.c
+++ b/drivers/mtd/chips/sharp.c
@@ -140,6 +140,7 @@ static struct mtd_info *sharp_probe(struct map_info *map)
mtd->suspend = sharp_suspend;
mtd->resume = sharp_resume;
mtd->flags = MTD_CAP_NORFLASH;
+ mtd->writesize = 1;
mtd->name = map->name;
memset(sharp, 0, sizeof(*sharp));