X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fnet%2Fnetconsole.c;h=bf58db29e2ed6342bd707931ccd598a3c376b07c;hb=0612ec48762bf8712db1925b2e67246d2237ebab;hp=75b35ad760de3cf78fa7b3939a9902c301261731;hpb=cd5e25d93e6efeb93db7b6731b0a674495270621;p=pandora-kernel.git diff --git a/drivers/net/netconsole.c b/drivers/net/netconsole.c index 75b35ad760de..bf58db29e2ed 100644 --- a/drivers/net/netconsole.c +++ b/drivers/net/netconsole.c @@ -87,6 +87,7 @@ static void write_msg(struct console *con, const char *msg, unsigned int len) } static struct console netconsole = { + .name = "netcon", .flags = CON_ENABLED | CON_PRINTBUFFER, .write = write_msg }; @@ -106,7 +107,7 @@ static int init_netconsole(void) if(!configured) { printk("netconsole: not configured, aborting\n"); - return -EINVAL; + return 0; } if(netpoll_setup(&np))