From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Thu, 04 Jan 2024 10:08:02 +0000
Subject: [PATCH] disable FB
---
kernel/drivers/tty/hvc/hvc_opal.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/drivers/tty/hvc/hvc_opal.c b/kernel/drivers/tty/hvc/hvc_opal.c
index 77baf89..c664125 100644
--- a/kernel/drivers/tty/hvc/hvc_opal.c
+++ b/kernel/drivers/tty/hvc/hvc_opal.c
@@ -353,7 +353,7 @@
if (!opal)
return;
for_each_child_of_node(opal, np) {
- if (!strcmp(np->name, "serial")) {
+ if (of_node_name_eq(np, "serial")) {
stdout_node = np;
break;
}
--
Gitblit v1.6.2