summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-07-08 15:05:17 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-07-11 09:58:47 +0200
commit8eacfa71abcba857ab9aa1dcad49e2ba7d83406b (patch)
treea4f85326d46109ea6505b2ecb9a015db46d68544 /net
parent3843bfd0ab77eaf125ca617922927b61fc8ded74 (diff)
downloadbarebox-8eacfa71abcba857ab9aa1dcad49e2ba7d83406b.tar.gz
barebox-8eacfa71abcba857ab9aa1dcad49e2ba7d83406b.tar.xz
netconsole: rename console to "netconsole"
So that it can be used without guessing the name first. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'net')
-rw-r--r--net/netconsole.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/netconsole.c b/net/netconsole.c
index 021820b13a..c817107296 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;