Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27731
b: refs/heads/master
c: af63a3b
h: refs/heads/master
i:
  27729: 6fc751d
  27727: 08baff1
v: v3
  • Loading branch information
Jörn Engel authored and David Woodhouse committed Apr 17, 2006
1 parent 1af76a7 commit b9933cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7f7c08dfdf5bc0a7c906285d9d97b932f83e8979
refs/heads/master: af63a3bcac77d8c01f3d963bac11a6f3f9b7c473
4 changes: 1 addition & 3 deletions trunk/drivers/mtd/mtdblock_ro.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@ static void mtdblock_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd)
dev->blksize = 512;
dev->size = mtd->size >> 9;
dev->tr = tr;
if ((mtd->flags & (MTD_CLEAR_BITS|MTD_SET_BITS|MTD_WRITEABLE)) !=
(MTD_CLEAR_BITS|MTD_SET_BITS|MTD_WRITEABLE))
dev->readonly = 1;
dev->readonly = 1;

add_mtd_blktrans_dev(dev);
}
Expand Down

0 comments on commit b9933cc

Please sign in to comment.