projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[MTD] Restore MTD_ROM and MTD_RAM types
[deliverable/linux.git]
/
drivers
/
mtd
/
devices
/
ms02-nv.c
diff --git
a/drivers/mtd/devices/ms02-nv.c
b/drivers/mtd/devices/ms02-nv.c
index a6466f923e7e9f6d4b4a2f3bc345d6473bd4f347..4ab7670770e43ff1cc9a0d855b872e1c22656f1e 100644
(file)
--- a/
drivers/mtd/devices/ms02-nv.c
+++ b/
drivers/mtd/devices/ms02-nv.c
@@
-218,7
+218,7
@@
static int __init ms02nv_init_one(ulong addr)
fixsize = (size - (fixaddr - addr)) & ~(PAGE_SIZE - 1);
mp->uaddr = phys_to_virt(fixaddr);
- mtd->type = MTD_
GENERIC_TYPE
;
+ mtd->type = MTD_
RAM
;
mtd->flags = MTD_CAP_RAM;
mtd->size = fixsize;
mtd->name = (char *)ms02nv_name;
This page took
0.046398 seconds
and
5
git commands to generate.