[PATCH] netconsole: set .name in struct console

From: Randy.Dunlap
Date: Tue Apr 04 2006 - 21:52:40 EST


From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>

Set .name in netconsole's struct console to identify the
struct's owner.

Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
---
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/