[PATCH 3/4] netconsole: rename console to "netconsole"
Sascha Hauer
s.hauer at pengutronix.de
Fri Jul 11 01:02:12 PDT 2014
So that it can be used without guessing the name first.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
net/netconsole.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/netconsole.c b/net/netconsole.c
index 021820b..c817107 100644
--- a/net/netconsole.c
+++ b/net/netconsole.c
@@ -141,6 +141,7 @@ static int netconsole_init(void)
cdev->tstc = nc_tstc;
cdev->putc = nc_putc;
cdev->getc = nc_getc;
+ cdev->devname = "netconsole";
g_priv = priv;
--
2.0.0
More information about the barebox
mailing list