Signed-off-by: Laurent Pinchart <[EMAIL PROTECTED]>
---
 drivers/mtd/maps/physmap_of.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/drivers/mtd/maps/physmap_of.c b/drivers/mtd/maps/physmap_of.c
index 49acd41..65c30b5 100644
--- a/drivers/mtd/maps/physmap_of.c
+++ b/drivers/mtd/maps/physmap_of.c
@@ -273,6 +273,14 @@ static struct of_device_id of_flash_match[] = {
                .data           = (void *)"jedec_probe",
        },
        {
+               .compatible     = "physmap-ram",
+               .data           = (void *)"map_ram",
+       },
+       {
+               .compatible     = "physmap-rom",
+               .data           = (void *)"map_rom",
+       },
+       {
                .type           = "rom",
                .compatible     = "direct-mapped"
        },
-- 
1.5.0


-- 
Laurent Pinchart
CSE Semaphore Belgium

Chaussée de Bruxelles, 732A
B-1410 Waterloo
Belgium

T +32 (2) 387 42 59
F +32 (2) 387 42 75
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to