Messages in this thread Patch in this message | | | Date | Tue, 4 Apr 2006 18:54:20 -0700 | From | "Randy.Dunlap" <> | Subject | [PATCH] netconsole: set .name in struct console |
| |
From: Randy Dunlap <rdunlap@xenotime.net>
Set .name in netconsole's struct console to identify the struct's owner.
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> --- drivers/net/netconsole.c | 1 + 1 files changed, 1 insertion(+)
--- linux-2617-rc1.orig/drivers/net/netconsole.c +++ linux-2617-rc1/drivers/net/netconsole.c @@ -87,6 +87,7 @@ static void write_msg(struct console *co } static struct console netconsole = { + .name = "netcon", .flags = CON_ENABLED | CON_PRINTBUFFER, .write = write_msg };
--- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |