diff options
Diffstat (limited to 'drivers/mtd/maps/physmap_of.c')
-rw-r--r-- | drivers/mtd/maps/physmap_of.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mtd/maps/physmap_of.c b/drivers/mtd/maps/physmap_of.c index 63d82dae4a78..c1d21cb501ca 100644 --- a/drivers/mtd/maps/physmap_of.c +++ b/drivers/mtd/maps/physmap_of.c | |||
@@ -340,6 +340,10 @@ static struct of_device_id of_flash_match[] = { | |||
340 | .data = (void *)"map_ram", | 340 | .data = (void *)"map_ram", |
341 | }, | 341 | }, |
342 | { | 342 | { |
343 | .compatible = "mtd-rom", | ||
344 | .data = (void *)"map_rom", | ||
345 | }, | ||
346 | { | ||
343 | .type = "rom", | 347 | .type = "rom", |
344 | .compatible = "direct-mapped" | 348 | .compatible = "direct-mapped" |
345 | }, | 349 | }, |