From: Randy Dunlap Date: Wed, 5 Apr 2006 03:11:56 +0000 (-0700) Subject: [NET] netconsole: set .name in struct console X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d938ab44c0c5418bb74a97b422a070e2cdccce22;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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 };