git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge to Fedora kernel-2.6.18-1.2224_FC5 patched with stable patch-2.6.18.1-vs2.0...
[linux-2.6.git]
/
drivers
/
mtd
/
chips
/
map_absent.c
diff --git
a/drivers/mtd/chips/map_absent.c
b/drivers/mtd/chips/map_absent.c
index
a611de9
..
ac01a94
100644
(file)
--- a/
drivers/mtd/chips/map_absent.c
+++ b/
drivers/mtd/chips/map_absent.c
@@
-64,7
+64,8
@@
static struct mtd_info *map_absent_probe(struct map_info *map)
mtd->write = map_absent_write;
mtd->sync = map_absent_sync;
mtd->flags = 0;
mtd->write = map_absent_write;
mtd->sync = map_absent_sync;
mtd->flags = 0;
- mtd->erasesize = PAGE_SIZE;
+ mtd->erasesize = PAGE_SIZE;
+ mtd->writesize = 1;
__module_get(THIS_MODULE);
return mtd;
__module_get(THIS_MODULE);
return mtd;