projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove unchecked MTD flags
[deliverable/linux.git]
/
drivers
/
mtd
/
devices
/
phram.c
diff --git
a/drivers/mtd/devices/phram.c
b/drivers/mtd/devices/phram.c
index e8685ee6c1e425f202b8ca2b91ea6de05dc8c8ae..41af9693d880b9ca2947806b2626258cfd6feb1f 100644
(file)
--- a/
drivers/mtd/devices/phram.c
+++ b/
drivers/mtd/devices/phram.c
@@
-142,7
+142,7
@@
static int register_device(char *name, unsigned long start, unsigned long len)
new->mtd.name = name;
new->mtd.size = len;
- new->mtd.flags = MTD_CAP_RAM
| MTD_ERASEABLE | MTD_VOLATILE
;
+ new->mtd.flags = MTD_CAP_RAM;
new->mtd.erase = phram_erase;
new->mtd.point = phram_point;
new->mtd.unpoint = phram_unpoint;
This page took
0.05075 seconds
and
5
git commands to generate.