[POWERPC] powerpc: add scanning of ebc bus to of_platform
[safe/jmp/linux-2.6] / arch / powerpc / kernel / of_platform.c
index b3189d0..b734517 100644 (file)
@@ -50,6 +50,7 @@ static struct of_device_id of_default_bus_ids[] = {
        { .type = "plb5", },
        { .type = "plb4", },
        { .type = "opb", },
+       { .type = "ebc", },
        {},
 };
 
@@ -169,7 +170,7 @@ static void of_platform_make_bus_id(struct of_device *dev)
        char *name = dev->dev.bus_id;
        const u32 *reg;
        u64 addr;
-       long magic;
+       int magic;
 
        /*
         * If it's a DCR based device, use 'd' for native DCRs