forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/tty/hvc/hvc_opal.c
....@@ -353,7 +353,7 @@
353353 if (!opal)
354354 return;
355355 for_each_child_of_node(opal, np) {
356
- if (!strcmp(np->name, "serial")) {
356
+ if (of_node_name_eq(np, "serial")) {
357357 stdout_node = np;
358358 break;
359359 }