git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mtd: physmap_of: Add non-obsolete map_rom probe
[sfrench/cifs-2.6.git]
/
drivers
/
mtd
/
maps
/
physmap_of.c
diff --git
a/drivers/mtd/maps/physmap_of.c
b/drivers/mtd/maps/physmap_of.c
index 63d82dae4a78302f579e49f74a871bf9d7b7c42d..c1d21cb501cad360eac2c219061d8414e866de0b 100644
(file)
--- a/
drivers/mtd/maps/physmap_of.c
+++ b/
drivers/mtd/maps/physmap_of.c
@@
-339,6
+339,10
@@
static struct of_device_id of_flash_match[] = {
.compatible = "mtd-ram",
.data = (void *)"map_ram",
},
+ {
+ .compatible = "mtd-rom",
+ .data = (void *)"map_rom",
+ },
{
.type = "rom",
.compatible = "direct-mapped"