From: Randy Dunlap Date: Wed, 5 Apr 2006 03:11:56 +0000 (-0700) Subject: [NET] netconsole: set .name in struct console X-Git-Tag: Ubuntu-5.0.0-8.9~49683^2~30 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=d938ab44c0c5418bb74a97b422a070e2cdccce22;p=mirror_ubuntu-disco-kernel.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 75b35ad760de..66e74f740261 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 };