[POWERPC] Set efika's device_type to "soc"
authorDomen Puncer <domen.puncer@telargo.com>
Sun, 6 May 2007 15:38:50 +0000 (01:38 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 7 May 2007 10:31:15 +0000 (20:31 +1000)
Device type should be "soc" (as in lite5200.dts), compatible is
already set to "mpc5200".

Signed-off-by: Domen Puncer <domen.puncer@telargo.com>
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/prom_init.c

index e27d9d1b6e67232b75d9e99c50a70d051b282866..87efb42247d10260431ea99b2f3ca364ab799938 100644 (file)
@@ -2153,7 +2153,7 @@ static void __init fixup_device_tree_efika(void)
                                     3,12,0, 3,13,0, 3,14,0, 3,15,0 };
        struct subst_entry efika_subst_table[] = {
                { "/",                  "device_type",  prop_cstr("efika") },
-               { "/builtin",           "compatible",   prop_cstr("soc") },
+               { "/builtin",           "device_type",  prop_cstr("soc") },
                { "/builtin/ata",       "compatible",   prop_cstr("mpc5200b-ata\0mpc5200-ata"), },
                { "/builtin/bestcomm",  "compatible",   prop_cstr("mpc5200b-bestcomm\0mpc5200-bestcomm") },
                { "/builtin/bestcomm",  "interrupts",   prop_bcomm_irq, sizeof(prop_bcomm_irq) },