diff options
Diffstat (limited to 'arch/microblaze/kernel/prom.c')
-rw-r--r-- | arch/microblaze/kernel/prom.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/microblaze/kernel/prom.c b/arch/microblaze/kernel/prom.c index a105301e2b7f..c881393f07fd 100644 --- a/arch/microblaze/kernel/prom.c +++ b/arch/microblaze/kernel/prom.c | |||
@@ -61,14 +61,12 @@ static int __init early_init_dt_scan_serial(unsigned long node, | |||
61 | char *p; | 61 | char *p; |
62 | int *addr; | 62 | int *addr; |
63 | 63 | ||
64 | pr_debug("search \"chosen\", depth: %d, uname: %s\n", depth, uname); | 64 | pr_debug("search \"serial\", depth: %d, uname: %s\n", depth, uname); |
65 | 65 | ||
66 | /* find all serial nodes */ | 66 | /* find all serial nodes */ |
67 | if (strncmp(uname, "serial", 6) != 0) | 67 | if (strncmp(uname, "serial", 6) != 0) |
68 | return 0; | 68 | return 0; |
69 | 69 | ||
70 | early_init_dt_check_for_initrd(node); | ||
71 | |||
72 | /* find compatible node with uartlite */ | 70 | /* find compatible node with uartlite */ |
73 | p = of_get_flat_dt_prop(node, "compatible", &l); | 71 | p = of_get_flat_dt_prop(node, "compatible", &l); |
74 | if ((strncmp(p, "xlnx,xps-uartlite", 17) != 0) && | 72 | if ((strncmp(p, "xlnx,xps-uartlite", 17) != 0) && |