From: Randy Dunlap Date: Wed, 5 Apr 2006 03:11:56 +0000 (-0700) Subject: [NET] netconsole: set .name in struct console X-Git-Tag: v2.6.17-rc2~291^2~30 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=d938ab44c0c5418bb74a97b422a070e2cdccce22;p=linux-2.6-omap-h63xx.git [NET] netconsole: set .name in struct console Set .name in netconsole's struct console to identify the struct's owner. Signed-off-by: Randy Dunlap Acked-by: Matt Mackall Signed-off-by: David S. Miller --- diff --git a/drivers/net/netconsole.c b/drivers/net/netconsole.c index 75b35ad760d..66e74f74026 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 };